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



You're going to run into issues any time you have a parameter in a
parameter list that is greater than 32 bytes and not entirely filled.

You'd be better of making a subprocedure.

Brad
www.bvstools.com

On Tue, Mar 8, 2016 at 11:40 AM, Michael Schutte <mschutte369@xxxxxxxxx>
wrote:

These don't appear to be the *ENTRY PLIST for program WHSCHG.

How is the first parm of WHSCHG defined? Is it 12,0?

If so then you would need to do this.

CALL PGM(MYLIB/WHSCHG) PARM(X'0000701108136F' '100)

12,0 is a packed field. So you have to pass the hex value in packed form.

1. So you always start with X'

2.a If the length is even then you automatically start with a 0.
2.b If your length is odd, just continue to step three.

3. Follow it up with the number digits that match in the parm field. With
leading zeroes if needed.

4. Since you are wanting to pass a positive value, end it with F'



On Tue, Mar 8, 2016 at 11:38 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

housek begsr
parms plist
c parm ponum 1200
c parm whs 3


this is not working. I debug and the values here are 0000's and blanks,

I have hard coded values so i can test but why would this not pass.

here is the way i am calling for now.

CALL PGM(MYLIB/WHSCHG) PARM(70118136 '100')
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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.