× 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.



Nothing leaps out, but did you try submitting the job from the program? That could isolate it to either a bad syntax that you just aren't seeing, or a real difference between the program and the SBMJOB. Also, you say you're running "from a program". A CL program? Or are you using QCMDEXC or something similar from RPG?

If it's a CL program, does it work if you submit a call to the CL program?

Joe

I am trying to use the SAVRST command to push IFS objects between
machines from a program. The program uses:

SAVRST RMTLOCNAME(&RMTSYS) +
OBJ(('/*') ('QSYS.LIB' *OMIT) +
('/QDLS' *OMIT) +
('/QFPNWSSTG' *OMIT) +
('/QNTC' *OMIT)) +
CHGPERIOD(121911 000000 *ALL *ALL) +
SAVACT(*YES) +
SAVACTMSGQ(*NONE) +
OPTION(*ALL)

This statement fails when run from a program with CPF382B which says:
Parameters not valid with multiple file systems.

If I run the exact same command from a submit job it works.
The job log in both cases show the exact same statement after the
variables have been resolved.

Any idea why this would work as a hand submitted job and not work if
called from a program?

V5R4 systems on both ends. Communications is working well.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.