5~~:tion 15~::ation Block Count 12
I, PWRITE=YESI RECFORM=xxxxxx]
Licensed Material - Property of IBM DATA MANAGEMENT AND SYSTEM CONTROL MACROS ( •.•. Cent'd)
Declarative Macros (Cont'd) Name Operation
DTFPR
[, E RROPT"xxxxxxxx]
],FEOVD,YESj
Defines a paper tape file
Defines a sequential DASD file
Defines a logic module for a diskette file
Defines a logic module for an indexed sequential fila
I
Licensed Material - Property of IB~f DATA MANAGEMENT ANDSVSTEM CONTROL MACROS ( ..•. Cont'd)
De I c ara !Ve f Ma (C t'd)
"'"
00Name Operation Operands DescriPtion
ISMOD LAECFOAM-FIXUNBI (Cont'd) FIXBLKIBOTH I
I.RPS=SVA]
LSEPASMB=VES]
(,TVPEFLE=RANDOMI SEQNTLI RANSEQ]
(name] MRMOD IADDRESS-(SINGLEIDUAL} ] Defines a logic module for a LBUFFERS=nnn] MICR or OCR file (,SEPASMB=VES]
(name] MTMOD (ASCII=VES] Defines a logic module for a
~CKPTREC=VES] magnetic tape file [,ERREXT=YES]
f,ERROPT=YES]
I.NOTEPNT={YESIPOINTS} ] [,RDONLY=VES]
I.READ=(FORWARDIBACK} ] [,RECFORM=xxxxxx]
(,SEPASMB=YES]
[,TYPEFLE=xxxxxx]
(,WORKA=YES]
[name] ORMOD (BlKFAC-YESJ Defines a logic module for a LCONTROL=YESI 12B7 or 1288 optical reader .DEVICE={12B7D 12B7T} file
(,IOAREA2""YES]
(,RECFORM={ FIXUNBI FlXBLKIUND~
(,SEPASMB=YESI [,WORKA=Y.ESJ
(name] PRMQD [CONTROL=YES] Defines a logic module for a I,cTLCHR=(YESIASA} ] printer file
(,DEVICE=xxxxx]
(,ERROPT=YESJ {,FUNC=xxxxxx!
(,IOAREA2=YES]
I,PRINTOV"'YES) (,RDONLY"'YES) (,RECFORM=xxxxxxl [.SEPASMB=YESI (,STLlST=YES]
(,TRC=YES) I.WORKA=YES]
[name) PTMOD (DEVICE-nnnnJ Defines a logie; module for a (,RECFORM=xxxxxx] paper tape file I.SCAN=YES]
[.SEPASMR=YES) (.TRANS=YESJ
111-28
Llct!mcd \latt!ml - Property of 18\1 DATA MANAGEMENT AND SYSTEM CONTROL MACROS (.. .. Cant'd)
)
lmperJtiveMacros
Name Operation Operands De5Cription
[nameJ CCB SYSnnn Defines an 10CS command
.command·list·name control block LX'nnnn']
[.senseaddress]
[name] CHECK {filenamel(1)} Prevents processing until I/O I.control·addrl,(O)] data transfer is complete
)
[name] {CLOSE I (filenamelllrl)} Deactivates a fileCLOSeR} Lfilen3me21.(r21L ...
[name] CNTRl {filenamej(11} Provides non·d3ta device
.code commands
!.nl ][.n2]
[name] OlSEN {filenJmel(1l} Stops feeding documents
through MICR or OCR devices [namel DSPlY (fllenamel(1)} Displays document field on
I
.(r2},(r3) 1287 display scope
[name] ENDFl {filenamel(Oj} Ends the mode initiated by SETFL
[name] ERET {SKIPI IGNOREI RETRY} Returns control from your error·processing routine to 10CS
[name] ESETL (filenamel(1)} Ends sequential mode initiated by SETL
[namel =XCP {blocknamel(I)} Aequest PIOCS to start 3n I/O
I.REALI operJtion
[name] FEOV (filenamel(1)} Forces end·of·volume for mag·
netic tape file
[name[ FEOVD (filename](1)} Forcesend·of·volume for
DASD file [name~ GENIOAB CCW={namell (S.namel )llrl)} Generates an I/O Aequest
• {D EVICE=SYSxxxl Block at execution time lOGUNIT={name21
(S.name211Ir2)}}
[.ADDRESS={name31 (S.name3)llr3)}
[,lENGTH=fieldlength]
[.ECB={name41 IS,nam(4)llr4l} 1 [.E R REXIT= {nameSI IS.nameS)1 (rS)} ]
LFrXLlST= {nameSl (S,name6)1 1,6))}
j,FIXFLAG=(optionl I, ... )]
[,IOFlAG=loption21 .... ) I
[namel GET (filenamelll)} Obtains the next sequential 10' I.worknamel.(O)1 gical record from In input fil~
[name) 10AB DSECT -YES Displays the 110 Request Block
0' 0'
CCW=namel,DEVICE=SYSxxx Generates an I/O Request
I,ECB=name21 Block at assembly time
[,FIXLIST=name3]
[,FIXFlAG=(option II .... )]
[.IOFLAG=(option 21, ... ))
[namel LBAET {11213) Returns control to IOCS Jher
label'processing [name[ LITE Uilenamelllll Lights pocket IJmps on 1419
[,llght·switchesl,(O)[ or 1275
[namel NOTE {filenameJ(1)} Obtains identification fora physical record or logical block
[name[ OPENI (filenilmell(rl)} ActivJtesafile
OPENA j,filenilme21,(r21], ...
111-29
Licensed Material - Property of IBM DATA MANAGEMENT AND SYSTeM CONTROL MACROS ( .... Cont'd)
Imperative Macros (Cont'd)
Name Operation Operands Description
[name] POINTR {filenamel(1)} Repositions a file to a specified
.(.dd,essICOl) record
[name] POINTS (filenamel(1)} Repositions a file to its begin·
ning
(name1 POINTW (filenamel(1)} Repositions a file to a specified
.(.ddressIlOl) record
(name) PRTOV {filenamellll},{9112} Specifies printer action when [,routinenamel,(OI1 carriage overflow occurs [name) PUT !filenamellll} Moves (outputsl a logical
[,workname1,{OI] record to I/O device [,STLSP"'{controlfieldllrl)} )
(,STLSK={controlfieldllr2) }l
(name1 PUTR {filenamelOI} Sends message to operator's
[,(worknamell{O)}
,{workname21(2)) )
console, requiring a reply [name) RDLINE (filenamel(l)} Reads a 1287 journal tape line
in correction mode [name) READ (filenamel(l)} Transfers data from an input
{.Sa.(.re.' COl 1I.leogthl.C,lIl.SII file to an area in virtual storage .101
.KEYI ,OR,{namellr2)}1 ,DR. {name! (r3)1 nn,nn}1 .MR)
[name) RELSE {filenamellll} Skip the remaining records in a block
(name) RESCN (filenamel!l)} Rescans a field on an OCR
,lrl),(r2J document
[,n11[,n2)
[name) SECTVAL [DDKR={name11101} I Calculates the sector value for [.DVCTYP=name2] a CKD disk file record
[name) SEOV filename Forces end·of·volume for a
system file on tape [name) SETDEV (filenameI(1)} Changes 3886 format records
.{phasename!(rl}
[name] SETFL {filenamelfOI} Sets file-load mode in ISAM {name) SETL (filenamellrl)} Sets sequential retrieval mode
.{id·namellr2)1 in ISAM
KEVIBOFIGKEV}
[name} TRUNe (filename!ll)} Writes a short block of records {name] WAIT (blockname! I 1)} PIOCS waits for an I/O opera·
tion to be completed before continuing
[name] WAITF {filenamel Irll} {,fifename21 Lloes waits for an I/O opera·
.C'211.··· tion to be completed before continuing
(namel WRITE {filenamellll} Transfers a record from virtual USOI UPDATE) .(are., (01) storage to an output file 1.lengthl,frlJl
.AFTERI.EOFII ,101 ,KEVI ,NEWKEVI .RZERO)
111·30
Licensed Ma terial - Property of IBM DATA MANAGEMENT AND SYSTEM CONTROL MACROS C •••• Cont'd)
)
S~stem Control MacrosName Operation Operands Description
[name) ASPL IDSECT'{!'lQIYESli Generates a mapping DSECT for the ASSIGN macro [name) ASSIGN ASPL={namell(rl)} Assigns or releases tape drives
,SAVE={name2[(r21 dynamically
[name) ATTACH {entrypoint[ (S,entrypointl[ (rll) Initiates a subtask ,SAVE={saveareal
1
(S,saveareal[(r21)J I,ABSAVE=(savearea!
(S,saveareall(r3)}I (,ECB=={ecbname[
(S,ecbname)1 (r4)}) (.MFG= {areal (S,area)t (rS)})
[namel CALL {entrypointl {lSI} Passes control to a specified [,(parameterlist)) entry point in another program
I
)
[name) CANCEL IALLI Terminates a task or subtask(name) CDLOAD {phasenamel{l)} Loads a specified phase into I,PAGE'{!'lQIYES}) the partition GETVIS area I,RETPNF'{!'lQIYES})
(name) CHAP Lowers the priority of the
issuingsubtask
[namel CHKPT SYSnnn Records the status of your
,{restart·addrl{rl)} program for later restarting l.end-addrl,(r211
(,tpointerl,(r311 l,dpointerl,{r4)) [,filenamel,(rS)]
(name) COMRG [REG=r) Places the partition's communi·
cation region address into the specified register (name) CPCLOSE [arglist[lrll] Issues a CPCLOSE command
to VM/370 to release a print or punch file for output
(name) DEQ {rcbnameICO)1 Releases an ENQed resource
(name] DETACH [SAVE= (saveareal (1)) Terminates (normally) a sub-task
(name) DTL NAME-resourcename Generates a DTL (Define The (.CONTROL=(;'ISI) Lock) control block at
assem-)
I,LOCKOPT'(1I2}! blytime[,KEEP=:~~IYES1) 1.0WNER=::TASKI PARTITION
I)
!,SCOPE'!!!iIIEXT})
[name] DUMP Produces a hexadecimal dump
(name) ENO frcbnamelCOll Protects a resource
(namel EOJ Ends a job step or subtask
[name) EXIT (ABIITIMRIOCIPC!TTl Returns control from your interrupt-checking routine [namel EXTRACT 1D=(PUBIBDYl Displays unit information from
,AREA= {namell {S,name111 (r1)\ the PUB table or partition .LEN= {Iengthl (r2)) boundaries I,MFG={name31I(3): )
I.PID= {name4IIS,name4Jll(4)
I)
I.SEL=: (nameSIIS.nameSlt (rSlll I.DISP= {name61IS,name61! (rSl i I
)
[namel FCEPGOUT : (listnamel(1)H Forces an area to be paged-out beginaddr,endaddr[.beginaddr .endaddrJ. ___ )
111-31
Licensed Material - Property of IBM DATA MANAGEMENT AND SYSTEM CONTROL MACROS I .... Conrd)
System Control Macros (Cont'd)
Name Operation Operands Description
[namel FETCH {phasenamel IS,addr)1 (1)}
I,entrypointl (S,entrypoint) I (0)]
(.l1ST={listnamel (S,listname)l(rl)}1 I.SYS·YES]
I.DE'YES]
I,MFG=(areal (S,area)1 (r2)} I
Loads a phase; transfers con·
trol to it
[name] FREE (filenamelf1)) Makes a previously held track or CI available to other tasks [name] FREEVIS [ADDRESS-fnamell(1)}1 Releases blocks of virtual
I,LENGTH={name21 (O))] storage previously obtained by
!,SVA=YES] a GETVIS
[name1 GENDTL [ADDR-{namell (S,name1 )llr1l) I Generates a DTL (Define The
[name] GENL
[,CONTROL=t~.lS}1 Lock) control block at exe-[,KEEP={~QJYES}] cution time I.LENGTH'(riQl YES}]
I.LOCKOPT'I1J2}1 [,NAME"'{name21{S.name2)1 (r2)}]