I have to perform a function wherein in my JCL I have 7 steps in my JCL. I have to execute step 1 to step 7 each step on particular days.
example :- step 1 on monday...
step 2 on tuesday.... likewise...
Actually i dont want to use a COBOL program....Instead if possible i want to use something else.
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
Loknath, I re-titled your post and moved it to the JCL forum as a SYNCSORT question. You mentioned that you don't want to use COBOL, yet you failed to provide details as to what you wanted for an alternative.
Using SORT there is no built in function to say the day is mon or tue....,
Actually, you can get the day of the week with DFSORT's system symbol string constant support, available since April, 2006. I'm not sure if getting the day that way would help in this situation, and Syncsort doesn't have this function anyway, but I thought I'd mention it for the record.