× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi guys,

I just wrote a piece of CL that basically takes a copy of the default job scheduler (QUSRSYS/QDFTJOBSCD) to
save file from source, ftps the save file to target and then restores the jobscd object to QUSRSYS on target.
The save/restore part is working fine for me, though I am having a slight issue.

At the end of the script, I have:
HLDJOBSCDE JOB(*ALL) ENTRYNBR(*ALL)

This is too prevent any jobs that are only supposed to run on source from running on target once the default
Job scheduler has been restored.

Every time my gets to this part it fails with the following CPF?
CPF1640 - Job schedule &1 in library &2 does not exist

Has anyone come across this CPF before?. It sounds like it is failing trying to hold a job scheduled
entry that doesn't exist, however how is this possible with a HLDJOBSCDE *ALL *ALL??.
Would be grateful for any insight, cheers guys.
Regards,
Barry.





**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.