>I have a requirement in which based on the day we need to execute the 
step

How about:

//DOW      EXEC PGM=IKJEFT1A, 
//             PARM='DOW' 
//SYSTSPRT DD  DUMMY 
//SYSTSIN  DD  DUMMY 
//SYSEXEC  DD  DISP=SHR,DSN=REXX.LIB
//*  /* rexx */
//*  lib: REXX.LIB(DOW) 
//*  exit date('B')//7 
//MONDAY   EXEC PGM=IEFBR14,COND=(0,NE,DOW) 
//TUESDAY  EXEC PGM=IEFBR14,COND=(1,NE,DOW) 
//WEDNESDA EXEC PGM=IEFBR14,COND=(2,NE,DOW) 
//THURSDAY EXEC PGM=IEFBR14,COND=(3,NE,DOW) 
//FRIDAY   EXEC PGM=IEFBR14,COND=(4,NE,DOW) 
//SATURDAY EXEC PGM=IEFBR14,COND=(5,NE,DOW) 
//SUNDAY   EXEC PGM=IEFBR14,COND=(6,NE,DOW)

Steve Runtsch


**************************************************************************************
This e-mail message and all attachments transmitted with it may contain legally 
privileged and/or confidential information intended solely for the use of the 
addressee(s). If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, 
forwarding or other use of this message or its attachments is strictly 
prohibited. If you have received this message in error, please notify the 
sender immediately and delete this message and all copies and backups thereof.

Thank you.
**************************************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to