The following example illustrates the use of the batch interface.
In this example, the simulated screen size is 80 columns by 66 rows. The screen line size is 80 characters because RECFM contains the ASA specification.
//EXECBAT JOB ,pgmrname,USER=userid //STEP0001 EXEC PGM=GSVXBAT,PARM='LINECNT=66,SHOWINP=NO' //STEPLIB DD DISP=SHR,DSN=SYSVIEW.CNM4BLOD //SYSPRINT DD SYSOUT=* //SYSIN DD * * * Sample input * User ID for batch session is taken from JOB card * COMMAND=(VTOC MVSRES) 1. Issue VTOC command DATA=(1,DSI), 2. Select volume information line and... X DATA=(2,DSI),DATA=(3,DSI) 3. Select first two data sets COMMAND=RETURN 4. Return for volume DSINFO screen COMMAND=RETURN 5. Return for first data set DSINFO screen COMMAND=RETURN 6. Return for second data set DSINFO screen SCROLL 7. Scroll through all of the data sets COMMAND=END 8. End the batch session /*
The following describes each line of the control card:
Copyright © 2014 CA.
All rights reserved.
|
|