using JCL is there any way to write the missed records (for eg in the above there is 04 & 06) .by using jcl can we write the records in to the output file with all the missed records.
means before writing it has to check whether first column contains records sequentially or not if not it has to write those record also .
Will all your missing records will have a constant value "00 001 00" from position 4? If so, you just need to change your first step to create the sequence record as below:
thanks for your reply.but the program itself should find all the records are in sequential order or not if not it has to write that paticular missed record with the same constant value