180 pts.
 Initiating a job only when a file contains records — CL
How can I code a CL program to submit a job only when a file contains records

Software/Hardware used:
iseries
ASKED: January 29, 2010  6:47 PM
UPDATED: February 1, 2010  2:33 PM

Answer Wiki:
DCL &NBRCDS *DEC(10 0) RTVMBRD &Lib/&File NBRCURRCD(&NBRCDS) If Cond(&nBRCDS > 0) Then(SBMJOB xxx)
Last Wiki Answer Submitted:  January 29, 2010  9:58 pm  by  CharlieBrowne   32,945 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,945 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _