Printing Facility (AFPCMD)

#### Search Results

Search

# Printing Facility (AFPCMD)

The function AFPCMD provides operating and reporting functions for the Adabas Fastpath buffer. AFPCMD can be used interactively in online mode or it can be invoked using Natural in batch mode.

Note
This section describes only the basic usage of AFPCMD using Online Services. For a complete description, see the section AFPCMD.

- Using AFPCMD in Online Mode

## Using AFPCMD in Online Mode

In online mode, AFPCMD can be invoked by:

- selecting option code `4` from the Online Services main menu, or

- by entering the command 4 on any screen command line, or

- by entering `AFPCMD` on any screen command line.

The Online Printing Facility screen will appear:

    11:14:31  ***** A D A B A S  FASTPATH SERVICES v.r.s *****            2025-05-19
                      -  On-Line Printing Facility  -                      F14000MA

    Please enter the following to specify the required report:

      Command: __________  DISPLAY, LIST, PARMS

      Objects: __________  BUFFER, JOB, AFPLOOK, TRACE, DATABASE, FILE, SUMMARY, SET
                           or ALL

     Keywords: _____________________________________________________________________
                (Press Enter to be prompted for the appropriate keywords)

      Printer: ________
      PC          for download via NATURAL CONNECTION to a PC printer or file.
      SOURCE      for output to the NATURAL source area.
      CONNECT     for output into a CON-NECT folder.
      Valid Name  known to COMPLETE, NAF or any spooling system

      Command ==>
     Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12
           Help        Exit                                                  Menu

##### Online Printing Facility

You must enter a valid command, object, keywords and printer. To print to PC or a printer, print file 7 must be defined correctly.

You can either enter the keywords or repeatedly press the Enter key to be prompted for keywords one at a time. When all keywords are valid, the function is executed and control is returned to this screen.

Refer to the following sections for information on commands, objects and keywords:

- AFPCMD Commands

- AFPCMD Objects

- AFPCMD Keywords

### On this page

- Printing Facility (AFPCMD)
- Using AFPCMD in Online Mode