Previous Topic

Next Topic

Book Contents

Book Index

%%BLANKn Statement

A program expects to receive the day of the week and the time of day as structured input:

The original JCL:

//PDPA0001 JOB (......),BILL,CLASS=A

//* %%LIBSYM CTM.LIB.SYMBOLS %%MEMSYM DAYTIME

....

//STEP02   EXEC PDPRT3

//SYSIN   DD *

%%H%%OWDAY%%.%%TIME

//

The DAYTIME member in the CTM.LIB.SYMBOLS library contains the following AutoEdit user symbols:

%%H1=SUNDAY%%BLANK4
%%H2=MONDAY%%BLANK4
%%H3=TUESDAY%%BLANK3
%%H4=WEDNESDAY%%BLANK1
%%H5=THURSDAY%%BLANK2
%%H6=FRIDAY%%BLANK4
%%H0=SATURDAY%%BLANK2
Variable substitution by stages:
%%H%%OWDAY%%.%%TIME
%%H%%OWDAY.085300
%%H1.085300
SUNDAY    085300
The submitted JCL:
//PDPA0001 JOB (......),BILL,CLASS=A
//* %%LIBSYM CTM.LIB.SYMBOLS %%MEMSYM DAYTIME
....
//STEP02   EXEC PDPRT3
//SYSIN   DD *
SUNDAY     085300

//

Parent Topic

Examples for JCL Setup and AutoEdit