How to: |
FOCREPLAY is activated by allocating the DDNAMEs it uses to record, capture, and/or replay a FOCUS session. You can add these allocations to your CLIST or batch JCL that invokes FOCUS.
The required disposition for the FOCREPLAY data sets is DISP=MOD. The recommended DCB attributes are RECFM=VB, LRECL=233472, BLKSIZE=23476 (half track blocking), DSORG=PS. If you want the data sets to be members of a library, you can allocate them as members of a PDSE. Because standard PDS data sets do not support DISP=MOD allocation for their members, you cannot allocate the data sets as members of a PDS. If you want to store them in a PDS, you can allocate them as sequential files and copy them to PDS members after they are complete.
If the DCB attributes differ from the recommended values, they will be changed dynamically during the session. You must have read/write access to all of the FOCREPLAY data sets.
Note:
FOCREPLAY records your FOCUS session if you allocate the following two DDNAMEs:
If you allocate an existing file to either DDNAME, the new script and session output are appended to the existing information in the files.
ALLOC F(FSC3270I) DA('hlq.script.file') MOD ALLOC F(FSC3270O) DA('hlq.session.output') MOD
where:
Is the data set that will contain the script of the FOCUS session.
Is the data set that will contain the captured FOCUS session.
ALLOC F(FSC3270I) DA('USER1.FSC3270I.DATA') MOD ALLOC F(FSC3270O) DA('USER1.FSC3270O.DATA') MOD
FOCREPLAY replays your FOCUS session and creates a new output file containing the replayed session if you allocate the following three DDNAMEs:
In a CLIST:
ALLOC F(FSC3270Q) DA('hlq.script.file') MOD ALLOC F(FSC3270O) DA('hlq.session2.output') MOD ALLOC (FSC3270I) DUMMY
In a batch job:
//FSC3270Q DD DISP=MOD,DSN=hlq.script.file //FSC3270O DD DISP=MOD,DSN=hlq.session2.output //FSC3270I DD DUMMY
where:
Is the data set that contains the script of the previously recorded FOCUS session.
Is the data set that will contain the replayed session.
In a CLIST:
ALLOC F(FSC3270Q) DA('USER1.FSC3270I.DATA') MOD ALLOC F(FSC3270O) DA('USER1.FSC3270O.DATA2') MOD ALLOC F(FSC3270I) DUMMY
In a batch job:
//FSC3270Q DD DISP=MOD,DSN=USER1.FSC3270I.DATA //FSC3270O DD DISP=MOD,DSN=USER1.FSC3270O.DATA2 //FSC3270I DD DUMMY
Information Builders |