Hi, I am trying to improve a SORT by using a variable to specify a Include variable. I defined the variable by means of a //SET#EXTN SET EXTNUM=200 and then I used //STEP0100 EXEC PGM=SORT,PARM='JP1"&EXTNUM"' and INCLUDE=(INP_EXTNTS,GT,JP1),
The problem, I think, is that the "200" is then used as C'200' and the INP_EXTNTS is numeric, INP_EXTNTS,*,04,BI and SUM FIELDS=(INP_EXTNTS, so no records are selected. Is there a way around this? Thanks for your help Jack ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
