

Online Processing › Beginning an OCF Session
Beginning an OCF Session
To begin an online session, you need to do the following:
- Sign on to the host teleprocessing (TP) monitor, according to site-standard procedures.
- Enter OCF after the system prompt, as shown, then press Enter:
ENTER NEXT TASK CODE: OCF Enter
- Optionally, enter a CONNECT statement to establish a dictionary to which to connect during the session (see Connecting to a Dictionary).
- Optionally, enter a SET OPTIONS statement to establish session-specific processing and output formatting options (see Using SET OPTIONS to Select Options).
OCF Screen Format
OCF uses a standard screen, which contains the following:
- A preformatted top line
- An unformatted input/output area
OCF nn.n IDMS PAGE 1 LINE 1 DICT=SYSTEM 1/303 cv
CONNECT TO DEMODICT;
*+ Status = 0
SET SESSION CURRENT SCHEMA DEMOEMPL;
*+ Status = 0
SELECT JOB_ID, JOB_TITLE, MIN_RATE, MAX_RATE
FROM JOB
WHERE MAX_RATE >= 27000.00
ORDER BY JOB_TITLE;
│
*+ JOB_ID JOB_TITLE MIN_RATE MAX_RATE
*+ ------ --------- -------- --------
*+ 4023 Accountant 22000.00 60000.00
*+ 5890 Appraisal Spec 22500.00 35000.00
*+ 4130 Benefits Analyst 17500.00 28000.00
*+ 5110 CUST SER MGR 20000.00 54000.00
*+ 5111 CUST SER REP 13500.00 27000.00
*+ 6011 Manager - Acctng 29700.00 60500.00
*+ 6004 Manager - HR 33000.00 69000.00
*+ 6021 Manager - Mktng 38000.00 75000.00
*+ 4734 Mktng Admin 12500.00 31000.00
&bul.
&bul.
&bul.
*+ 25 rows processed
Top Line
The top preformatted line of the screen contains the following areas:
- Command area—Provides 20 spaces in columns 2 through 21 for entering commands that manipulate the work file or communicate with OCF; these commands are described in Using Top-line Commands.
- Name area—Displays the OCF header and the release number.
- Message area—Displays one of the following, as appropriate: the work-file page and line number; the literal NO ERRORS; the number of error messages issued for the last update; or a message describing the status of a session-control command.
- Dictionary area—Displays the current dictionary if you used the system DCUF SET DICTNAME statement or a CONNECT TO statement.
- Line number area—Displays the current line of the screen I/O area, followed by the total number of lines (last line) in the work file.
Input/Output Area
In the area that follows the screen's top line, the input/output area covers the remainder of the screen. The default page width for OCF is 79 for input (76 for output because of the *+ and space characters preceding output lines).
Copyright © 2014 CA.
All rights reserved.
 
|
|