Re: control a sort parm value from JCL/Proc step - Syncsort
Posted: Fri Aug 17, 2012 2:56 am
Hello,
Then you might try this:
The pds member(s) would contain:
or whatever other regions this expands to. Each time a new region is added, a new member would be added to the pds.
Then you might try this:
HEADER1=(3:'SELECT * FROM',/,
/*
// DD DSN=some.pds(®ION),DISP=SHR,
// DD *
3:'FOR FETCH ONLY WITH UR;')
/*
// DD DSN=some.pds(®ION),DISP=SHR,
// DD *
3:'FOR FETCH ONLY WITH UR;')
The pds member(s) would contain:
3:'TEST.EMPLOYEE',/,
or whatever other regions this expands to. Each time a new region is added, a new member would be added to the pds.