How to Add a Console Function to CP
Installations may aaa the1r own commands to their Va/370 system. First,
code the module to handle the command processing. Follow the CP coding
conventions outlined in an earlier section of this book.
Second, add an entry for the command in the CP DKKCFC module. DKKCFC has two entry points: one for logged-on users and another for
nonlogged-on users. If the command is for logged-on users, be sure its
entry is beyond the label COKNBEG1. TO place an entry for the command in the DKKCFC module, insert a line
with the following format:
[label] I COKND I commandname,class,min,entrypt(,NCL=1]
co •• andname is a 1-to 8-character name. class
min
entrypt NCL=1 is the cOllmand privilege class (up to four classes are
allowed). 0 is coded for nonlogged=on user commands or when NCL=1. is the nUllber truncation.
of characters allowed as the minimum
is the entry point of the module you write to process the
new command.
is specified if the command is to be allowed before the user
logs on. When NCL=1, the class is not checked.
After the above entry has been inserted in the DKKCFC module, reload DKKCFC as a pageable module ensuring that it does not cross a page
boundary. You must also load your own module which mayor may not be a
resident module. Part 2. Control Program (CP) 215
Print Buffers and Forms Control
Buffer images are supplied for the UCS (Universal Character Set) buffer,
the UCSB (Universal Character Set Buffer). and the FCB (Forms Control
Buffer). The VM/370-supplied buffer images are: UCS - for the 1403 and 3203 Printers AN
HN
PCAN
PCHN
QN
QNC
RN YN TN
PN SN Normal AN arrangement
Normal HN arrangement
Preferred character set, AN
Preferred character set, HN
PL/I - 60 graphics
PL/I - 60 graphics FORTRAN, COBOL co.mercial
High speed alphanumeric
Text printing 120 graphics
PL/I - 60 graphics
Text printing 84 graphics UCSB - for the 3203 and 3211 Printers Al1 H11
G 11
P11
T11 tlgg.!l.!ng Standard Commercial Standard Scientific ASCII PLI
Text printing FCB -for the 3203 and 3211 Printers
There is only one name provided for an FCB image.
Name FCB1 Space 6 lines/inch
Length of page 66 lines
Line 1
3
5
7
9
11
13
15
19
21
23
64
Channel Skip 1
2
3
4
5
6
7
8 10 11
12
9
For the exact contents of the buffer images, see IBM 2821 Control and g,!lg Yn.!l g]g 216 IBM VM/370 System Programmer's Guide
Previous Page Next Page