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 REXX EXEC, 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.
FILEDEF FSC3270I DISK script_file ft1 fm (DISP MOD FILEDEF FSC3270O DISK session_output ft2 fm (DISP MOD
where:
Is the filename, filetype, and filemode of the file that will contain the script of the FOCUS session.
Is the filename, filetype, and filemode of the file that will contain the captured FOCUS session.
FILEDEF FSC3270I DISK FSC3270 IN A (DISP MOD FILEDEF FSC3270O DISK FSC3270 OUT A (DISP MOD
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:
FILEDEF FSC3270Q DISK script_file ft1 fm (DISP MOD FILEDEF FSC3270O DISK session2_output ft2 fm (DISP MOD FILEDEF FSC3270I DUMMY
where:
Is the filename, filetype, and filemode of the file that contains the script of the previously recorded FOCUS session.
Is the filename, filetype, and filemode of the file that will contain the replayed session.
FILEDEF FSC3270Q DISK FSC3270 IN A (DISP MOD FILEDEF FSC3270O DISK FSC3270 OUT2 A (DISP MOD FILEDEF FSC3270I DUMMY
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 |