vegafacundodaniel wrote:Thanks Skolusu for your help,
My input file is VB of 1000 characters (which has the RDW in the first 4 bytes) and my output file is FB 996.
Thanks in advance !!!
*Sigh* You show an example of 6 characters out of which you removed just 1 character . But now you show that need 4 bytes to be taken off from the input. What is the position and format of the input field that you want to sort and what are the complete rules?
Here is a sample job which assumes that your sorting start starts at pos 6 for 6 bytes and you want to remove the first byte of it. The output file is VB with LRECL of 999
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=Your input VB 1000 byte file,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSIN DD *