|
Dear Joe My Programm use display file I/O, I check all display input value in RPG, and i use on parameter '0' &'1' to indicated interactive and batch job. I want to program an CLP for calling in RPG to change this job from Qinter to Qbatch, I have tried your prompt, but only batch job generate with some log file, and result spool file was generated by interactive job. any suggestion? Many thanks! Ping ----- Original Message ----- From: "Joe Pluta" <joepluta@PlutaBrothers.com> To: <rpg400-l@midrange.com> Sent: Monday, April 15, 2002 11:36 AM Subject: RE: Submit JOb > > From: Ren Fu Ping > > How to change my interactive run job to batch run job in > > RPG or CLP? > > If your program doesn't use a display file, you can simply submit it: > > SBMJOB CMD(CALL MYPROGRAM) > > There are many parameters on the SBMJOB command relating to job queues and > logging and so on, but the command above will get you started. > > If, however, your program uses display file I/O, it will not run in batch > without some extra work. > > Joe > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. >
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.