> I keep getting syntax errors in my INREC, probably because I have not
done
> this before and have forgotten something. Can someone lend a hand?

Don,

You need to use "/" to create a new line which is ONLY on applicable on
OUTFIL. Here is sample job that would give you the desired results

//STEP0100 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
OLDNAME1                         NEWNAME1
OLD-NAME-NUMBER2                 NEW-NAME-NUMBER2
OLD3                             NEW3
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  OPTION COPY
  OUTFIL BUILD=(C'-UPD AREA,',01,32,C' (PROD)',/,
                C'1000 ALTER',/,
                C'1500 NEWNAME,',34,32,/,
                C'-END',80:X)
/*


Thanks,
Kolusu
DFSORT Development
IBM Corporation



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to