|
> I have two CL's, CL1 calls CL2. I want the date when CL1 is > entered to also be the date used in CL2. > CL1 starts at 11:30pm and runs jobs. The call from CL1 to CL2 > could be before mid-night or after depending on how long CL1 > takes to run. > I would like help determining which of these commands would > be the best for what I want to do. > Thanks in advance for any and all help. If I understand your question properly, I think you want RTVJOBA DATE(&DATE). The help for the DATE parm in the RTVJOBA command states: "Specifies the name of the CL variable that receives the DATE ASSIGNED TO THE JOB BY THE SYSTEM WHEN THE JOB IS STARTED (emphasis mine). The variable must be a character variable with a minimum length of 6 characters. The job date is returned in the job-date format." Assuming CL1 does a CALL to CL2 and not a SBMJOB to create a new job, you'll get the date as of 11:30pm. HTH. -- Jeff Crosby Dilgard Frozen Foods, Inc. P.O. Box 13369 Ft. Wayne, IN 46868-3369 260-422-7531 The opinions expressed are my own and not necessarily the opinion of my company. Unless I say so.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.