header sequence increment for every job run
Posted: Tue May 27, 2014 12:02 pm
Hi,
I have added header and trailer in my jcl. In header i have mentioned a sequence number. intially i have mentioned it as 01. but i want to increment it using jcl for every job run. for example 1st job run the header should have sequence number 01 and for 2nd job run it should be 02 and for 3rd job run it should b3 03 in the output file like so on so.. i have tried to increment a particular number. but i want for every job run. this should be done through jcl only. my lrecl=80, blocksize=800. i have header in 1st positon. please help me
I have added header and trailer in my jcl. In header i have mentioned a sequence number. intially i have mentioned it as 01. but i want to increment it using jcl for every job run. for example 1st job run the header should have sequence number 01 and for 2nd job run it should be 02 and for 3rd job run it should b3 03 in the output file like so on so.. i have tried to increment a particular number. but i want for every job run. this should be done through jcl only. my lrecl=80, blocksize=800. i have header in 1st positon. please help me