VSAM Online
DB-FREE REC recordname|ALL ... [VIEW keyname] ... [ENDBR] [UNLOCK] [REQID number] ... [SYSID systemname] [DDN ddname]
ALL |
Process all subschema records. When coded with SYSID, all files must reside on the same region. |
DDN ddname |
Specify file ddname; can be a literal or data name defined as PIC X(8). Supply a value to the name option of CICS DATASET. |
ENDBR |
End active browse; generate CICS ENDBR command. |
REC recordname |
COBOL record to process. |
REQID number |
Unique browse identifier for performing a simultaneous browse on the same key; is a single integer (0 - 9). Assign &VS-ENDBR-CONTROL = "USER" in the AMB CNTL file APVSAMIN. |
SYSID systemname |
Remote system name (maximum 4 characters); can be a literal region name or a Working-Storage field. |
UNLOCK |
Unlock file; generate CICS UNLOCK command. |
VIEW keyname |
Specify primary or alternate key. |
DB-OBTAIN REC ORDR-RECORD ... WHERE ORDR-NUMBER = SCREEN-ORDR-NUMBER ... HOLD DB-FREE REC ORDR-RECORD ... UNLOCK
DB-OBTAIN REC CUST-RECORD ... VIEW CUST-NUMBER DB-FREE REC CUST-RECORD ... VIEW CUST-NUMBER ... ENDBR