You can specify more than 4 parameters, depends of how many parameters your CL will need and the length of the field  PARAMETER (256 A).
This is an example of a program that receives 5 parameters,  3 character fields and 2 numeric fields (numeric fields must be specified in hexadecimal format)

                                                                              
                           Program Parameters                                 
                                                                              
    Menu  ORD     Option  113  Program  MYPROG      Type  D                   
    Parameter                                                                 
  'AB'   'CD'   'EF'   X'00120F'   X'025F'         
                                                                        
                                                                        
                                                                        
                                                                              
                                                                              
                                                                              
                                                                              
  F1=Help  F3=Exit  F5=Refresh  F12=Cancel                                    
                                                                              

Hope this helps

Gerardo


________________________________
From: "McGovern, Sean" <Sean.McGovern@xxxxxxxxxxxx>
To: BPCS ERP System <bpcs-l@xxxxxxxxxxxx>
Sent: Thursday, July 18, 2013 8:14 AM
Subject: Re: [BPCS-L] Passing parameters to options called from BPCS menus


The help text states: -

"Specify the values to use to call a program."

I've just tested it with 2 (character) parameters and it was fine.

Maybe difficult with numeric parameters (haven't tested).



-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of Molyneux, Tom
Sent: 18 July 2013 13:12
To: BPCS ERP System
Subject: Re: [BPCS-L] Passing parameters to options called from BPCS menus

Thanks Sean. The heading is "Parameter" (Singular) - I never realised it could be used as more than 1! Next time I have something that requires more than 1 I'll try it.

Tom Molyneux

NOV Mono
MIS Department

Tel.  +44 (161) 214 2142
Fax. +44 (161) 214 2344
E:mail  Tom.Molyneux@xxxxxxx


-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of McGovern, Sean
Sent: 18 July 2013 13:08
To: BPCS ERP System
Subject: Re: [BPCS-L] Passing parameters to options called from BPCS menus

You can pass in up to 4 parameters using this method.



-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of Molyneux, Tom
Sent: 18 July 2013 12:26
To: BPCS ERP System
Subject: Re: [BPCS-L] Passing parameters to options called from BPCS menus

Michael,

We are on ERP Lx V8.3.2

I know you can call a program from a BPCS menu with one fixed parameter. We have several options like this that we have added to menus. But, unless I'm missing something, I think it is restricted to one parameter.

To do this, in menu maintenance position the cursor on the program to be called and take F4 and you'll get another screen where you can define the parameter to be passed to the calling program. Eg. We have a number of options to maintain selected Tables on ZCC without giving the user the entire SYS105 option. We pass the different CCTABL field names to the program for each option where it is called.

If you need 2 parameters, you could concatenate them into one, called from the menu, and have your CL spilt them into 2 at start of processing.

Hope that helps

Tom Molyneux

NOV Mono
MIS Department

Tel.  +44 (161) 214 2142
Fax. +44 (161) 214 2344
E:mail  Tom.Molyneux@xxxxxxx


-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of Regan, Michael
Sent: 16 July 2013 20:40
To: 'bpcs-l@xxxxxxxxxxxx'
Subject: [BPCS-L] Passing parameters to options called from BPCS menus

I have a CLLE program that accepts two parameters.

Is there a way to call the program from a BPCS menu option, passing the parameters (which will always be the same when called from the menu)?

Or do I have to create a wrapper program with no parms, and call that?

--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/bpcs-l.



________________________________

Mono Pumps Limited
Registered in England No. 300721.
Registered Office : Martin Street, Audenshaw, Manchester. M34 5JA

--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/bpcs-l.

--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/bpcs-l.



________________________________

Mono Pumps Limited
Registered in England No. 300721.
Registered Office : Martin Street, Audenshaw, Manchester. M34 5JA

--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email: BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/bpcs-l.


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