I have an VB file (lrecl=340) with # as delimiter. 2nd field (after first #) is Filename field and 4th field (appearing after 3rd #) is a record count field.
using Parse i have captured the 2nd (after first #) field and 4th field (after 3rd #). Also I have Right aligned the RECORD COUNT field (after 3rd #) (max length 15 bytes) using below approach
I want RIGHT Justified RECORD COUNT field data (Starting from position 47th in Output file) to be padded with leading Zeroes (max length of field is 15 )
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
puneetvirmani143,
Are you using Syncsort at your shop? If so you should be posting your questions in the JCL forum. Please make it clear. For this question use the following DFSORT JCL