Extracts from a batch job in zOS writing to ODS destination HTML
JCL from 2 steps. First ensure the file to hold the html is deleted [pre]
//A EXEC PGM=IEFBR14
//PDSEHTML DD DSN=PUV.PIVAMS.HTMLBPA.D080531,
// DISP=(MOD,DELETE)[/pre]
Next the JCL for the html file in the SAS step which writes the ascii[pre]
//PDSEHTML DD DSN=*.A.PDSEHTML,
// DISP=(NEW,CATLG),SPACE=(CYL,(5,5),RLSE),
// DSNTYPE=LIBRARY,DSORG=PO,RECFM=VB,LRECL=8196 [/pre]
and finally our ods HTML statement which opens the destination[pre]
ODS HTML Body ='CONTROLS' (URL='CONTROLS.HTM')
Path =PDSEHTML (URL=None)
CSS
RS=None
TranTab =ASCII; [/pre]
Hope this helps
PeterC
... View more