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



It's best to build a command to 'front end' your program...check the
archives...it's easy to do.

But it wants it in packed format, so it would be call pgm1 x'0000000000087f'

On Tue, Sep 1, 2009 at 10:14 AM, lwl <lwl@xxxxxxxxxxxxx> wrote:

To all



As you cal tell from this question I'm new to the 400/iSeries environment.



I want to call a program (pgm1) with one parameter (PRM01) from the command
line.

The parameter is 7,0 in the program and the value I want to pass is 87



I think the command line entry is:



Call pgm1 (0000087)



Obviously this is wrong because the program abends on a data error when I
use the above instruction format.



What should the command line entry look like?





Roy Luce

Systems Plus - Midwest



Direct: 847-540-9635

800-913-PLUS (7587)

Cell: 847-910-0884

Email: rluce@xxxxxxxxxxxxxxxxxxx



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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.