|
Ashok, I noticed in your example that the parms you are passing are different from what I got when I look at a job log from each of the programs I need to run. We are 6.0.02 PLf, full C/S. The actual data from our job log is as follow: SBMJOB CMD(CALL PGM(SYSOVRC) PARM('INV260B' X'000F ---253 hex'40' for blanks and the 256 character is a hex'E7' which is an "X"' ' X'24040F9F9404040404040404040404040F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F2F0F0F3 then hex'40' through the 256th character.')) What you don't show is how you are getting the BPCS security to pass. Rather than write a CL program where dates are needed, could you not go in and modify each "scheduled" job parms to insert the correct dates? Dilbert's Words Of Wisdom: "I love deadlines. I especially like the whooshing sound they make as they go flying by." Dennis Munro Badger Mining Corporation dmunro@badgerminingcorp.com <mailto:dmunro@badgerminingcorp.com> -----Original Message----- From: Ashok Singh [SMTP:asingh@kode.net] Sent: Wednesday, April 14, 1999 1:57 PM To: BPCS-L@midrange.com Subject: RE: Passing Parms to BPCS Programs Hi Guys: I am Also using AS/400 Job Scheduler and submitting all the parameters from the scheduler itself. E.g. to submit INV230 Stock Status Summary Report the parameter string should look like by Class CALL PGM(INV230B) PARM('I' X'000F' ' 99 99999999999999C' I have been able to run all of my daily, weekly and monthend program using scheduler for couple of programs that need date range input I am using a CL program to create the string as described above. Ashok > -----Original Message----- > From: owner-bpcs-l@midrange.com [mailto:owner-bpcs-l@midrange.com]On > Behalf Of Robert C. Noey > Sent: Wednesday, April 14, 1999 10:46 AM > To: BPCS-L@midrange.com > Subject: RE: Passing Parms to BPCS Programs > > > Alison: > > Could you contact me offline to give me more details on the CLs > you wrote to > capture the needed parameters. Thank you very much. > > Robert Noey > rnoey@aol.com > > > -----Original Message----- > > From: uucp@Uucp1.mcs.net [mailto:uucp@Uucp1.mcs.net]On Behalf Of Quinton > > - Alison > > Sent: Friday, April 09, 1999 3:01 AM > > To: BPCS-L@midrange.com > > Subject: Re: Passing Parms to BPCS Programs > > > > > > We are using BPCS V6.0.2 plf on OS/400 4.3 , we use the IBM job > > scheduler to > > run automatic dayends, monthends and lots of reports! > > > > We were unable to use the capture routine within the job > scheduler for the > > majority of the BPCS programs due to the length of the parameters > > used by the > > AS/SET programs &SLIST and &PLIST. > > > > What we did was construct CLPs to have passed the parameters we > needed and > > then from this construct the &SLIST & &PLIST and call the BPCS > > program .. ie > > > > for INV260 which needs to be passed the facility & cost centre > > > > CHGVAR VAR(&SLIST) VALUE(&SLIST1 *CAT &FAC *CAT + > > &CSET *CAT &SLIST2) > > > > CALL PGM(INV260B) PARM('I' &PLIST &SLIST) > > > > A bit fiddly to set up initially but it works well! > > > > there are some additional complications with dates being held as > > characters > > in the job schedule parameter list - for which we had to write > > convert to hex > > routines. > > > > I hope this helps. > > Alison > > "Robert C. Noey" wrote: > > > > > Does anyone have a method for scheduling BPCS jobs in the AS400 Job > > > Scheduler. Up to this point I have been writing CLs to call > > the programs > > > but am now running into some trouble trying to figure out how > > to pass the > > > proper parms to the BPCS programs (i.e. MRP500). Any help would be > > > appreciated. > > > > > > Thank you > > > > > > +--- > > > | This is the BPCS Users Mailing List! > > > | To submit a new message, send your mail to BPCS-L@midrange.com. > > > | To subscribe to this list send email to BPCS-L-SUB@midrange.com. > > > | To unsubscribe from this list send email to > BPCS-L-UNSUB@midrange.com. > > > | Questions should be directed to the list owner: dasmussen@aol.com > > > +--- > > > > -- > > Alison Quinton > > Xyratex > > D965 IT Central Services > > Alison_Quinton@uk.xyratex.com > > http://www.xyratex.com/ > > > > > > +--- > > | This is the BPCS Users Mailing List! > > | To submit a new message, send your mail to BPCS-L@midrange.com. > > | To subscribe to this list send email to BPCS-L-SUB@midrange.com. > > | To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com. > > | Questions should be directed to the list owner: dasmussen@aol.com > > +--- > > > > > > +--- > | This is the BPCS Users Mailing List! > | To submit a new message, send your mail to BPCS-L@midrange.com. > | To subscribe to this list send email to BPCS-L-SUB@midrange.com. > | To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: dasmussen@aol.com > +--- > << File: Ashok Singh.vcf >> +--- | This is the BPCS Users Mailing List! | To submit a new message, send your mail to BPCS-L@midrange.com. | To subscribe to this list send email to BPCS-L-SUB@midrange.com. | To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com. | Questions should be directed to the list owner: dasmussen@aol.com +---
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.