I want to code an OPNQRYF statement in a CL program, not sure this is the right forum but here goes. It should have a QRYSLT statement along the lines of LRDTE = %RANGE(&DATE1 &DATE2) *AND LROUT = %RANGE(&ROUTEF &ROUTET)
I have tried all sorts of combinations using ''' ( ) || *CAT *BCAT etc but after compilation the CL program errors ar the OPNQRYF statement. All I need is the right format for the QRYSLT. Can anyone help or point me in the right direction? Even copying a similar QRYSLT from another CL and amending wouldn't work.
I have tried all sorts of combinations using ''' ( ) || *CAT *BCAT etc but after compilation the CL program errors ar the OPNQRYF statement. All I need is the right format for the QRYSLT. Can anyone help or point me in the right direction? Even copying a similar QRYSLT from another CL and amending wouldn't work.