Previous Topic: SUSPENDNext Topic: SWITCH


SWAP

SWAP allows you to switch between CA OLQ command mode and the menu facility.

When in command mode, you can specify a menu facility screen name and switch to a particular screen.

Syntax:

►►─── SWAP ─┬──────────────────────┬──────────────────────────────────────────►◄
            ├─ BATch ──────────────┤
            ├─ BREak ──────────────┤
            ├─┬─ HEAder ─────────┬─┤
            │ └─ COLumns HEAder ─┘ │
            ├─┬─ COLumns select ─┬─┤
            │ └─ FIElds select ──┘ │
            ├─┬─ DISplay ─┬────────┤
            │ └─ REPort ──┘        │
            ├─ EDIt ───────────────┤
            ├─┬─ GROup BY ─┬───────┤
            │ └─ SUMmary ──┘       │
            ├─ LINkage select ─────┤
            ├─ MENu ───────────────┤
            ├─┬─ OPTions ─┬────────┤
            │ └─ SESsion ─┘        │
            ├─┬─ PAGe HEAder ─┬────┤
            │ └─ PAGe FOOter ─┘    │
            ├─ PICture ────────────┤
            ├─┬─ PRInt ───────┬────┤
            │ └─ DEStination ─┘    │
            ├─ QFIle ──────────────┤
            ├─ RECord select ──────┤
            ├─┬─ SAVe ────────┬────┤
            │ └─ SAVe REPort ─┘    │
            ├─┬─ SIGnon ────┬──────┤
            │ └─ SUBschema ─┘      │
            ├─ SORt ───────────────┤
            ├─ SELection CRIteria ─┤
            └─ TABle ──────────────┘

Parameters:

BATCH

The Batch Processing screen

BREAK

The Report Format - Sort screen

HEADER/COLUMN HEADER

The Report Format - Header screen

COLUMNS SELECT/FIELDS SELECT

The Column Select screen

TABLE

The Table Processing screen

DISPLAY/REPORT

The Display Report screen

EDIT

The Report Format - Edit screen

GROUP BY/SUMMARY

The Report Format - Group By screen

LINKAGE SELECT

The Linkage Select screen

MENU

The Menu screen

OPTIONS/SESSION

The Session Options screen

PAGE HEADER/PAGE FOOTER

The Page Header/Footer screen

PICTURE

The Report Format - Picture screen

PRINT/DESTINATION

The Print Processing screen

QFILE

The Qfile Processing screen

RECORD SELECT

The Record Select screen

SAVE/SAVE REPORT

The Save Report screen

SIGNON/SUBSCHEMA

The Signon Database View screen

SORT

The Report Format - Sort screen

SELECTION CRITERIA

The Selection Criteria screen

Example:

The command SWAP brings you to the Menu screen:

CA, Inc. CA OLQ Release 16.0 *** Menu *** -> Page 1 of 3 122000 Select an option and press the ENTER key Select Command/ Show Pfkey Option Description Screen Name Help ---> Data Source for Report <--- X Choose tables TABle _ _ Choose subschema SUBschema _ ---> Retrieval Activity <--- _ Choose records from selected subschema RECord _ _ Choose columns for report COLumn _ _ Retrieve data to build report RETrieve _ _ Alter database access strategy LINkage _ ---> Processing Mode <--- _ Execute or create a predefined routine QFIle _ _ View existing or save current report SAVe _ _ Submit batch report request BATch _ 1=HELP 2=GLOBAL HELP 3=QUIT 4=MESSAGE 8=FWD

The command SWAP OPTIONS brings you to the Options Screen:

CA OLQ Release 16.0 *** Session Options *** -> Page 1 of 2 107017 CA OLQ Release 16.0 107019 Copyright(C) 2003 CA, Inc. Current interrupt count: 100 Current underline character: - Access IDMS SQL tables: Y (Y/N) Current SQL NULL data value: . User options: Page Columns Spread: (L-Left,E-Even,M-Max,nn) Change Help Option Current option Alternate option -> Report Processing Options <- _ _ NOFiller FILler _ _ FULl SPArse _ _ HEAder NOHeader -> Column Processing Options <- _ _ OLQheader NOOlqheader _ _ PICture NOPIcture _ _ CODetable NOCODetable 1=HELP 3=QUIT 4=MESSAGE 6=MENU 8=FWD