My input dataset is a VBA and its Record Length is 137. The first 5 bytes of the input dataset has a packed decimal. I need to convert this PD bytes to a readable format and copy the whole record into a new output VBA dataset. The LRECL of the new output dataset is 146. I used a couple of SORT cards, still Iam getting error. Please help.
PS: M26 has a predefined length of 16 (including sign), but as your input PD field is only of 5 bytes, you will get a maximum of only 9 numeric digits in the output and one byte for the sign and that makes a length of 10. Hence for an input LRECL of 137, you can have an output LRECL of just 142.