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


  • Subject: Re: Passing Parms to BPCS Programs
  • From: alison_quinton@xxxxxxxxxxxxxx (Quinton - Alison)
  • Date: Fri, 09 Apr 1999 09:01:08 +0100
  • Organization: Xyratex

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
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.