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



hi,

if i remember correctly a parameter alpha is cut by 32 car, if the cl expect
one of 50 car and you send only 35 car (between quotes), the system use
space from 36 to 50 so you can get some special caracter in it.

You can try this by calling with blank :

    CALL PGM ('*DEFAULT
' 'AAAAA')
----- Original Message -----
From: "Jonathan Mason" <masonjo1@xxxxxxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, October 27, 2004 12:46 PM
Subject: Re: CL program parameters being corrupted


> Hi Joep
>
> Thanks for that, I had been searching for "CL Parameter" and hadn't found
the reference to 32 character fields.  I had figured that a work around was
to code a command front end to it, but was interested in what the cause was.
>
> Thanks for the help
>
> Best regards
>
> Jonathan
> www.astradyne-uk.com
>
> -----Original message-----
> From: Joep Beckeringh joep@xxxxxxxxxxxxxxxxxxx
> Date: Wed, 27 Oct 2004 09:25:08 +0100
> To: RPG programming on the AS400 / iSeries rpg400-l@xxxxxxxxxxxx
> Subject: Re: CL program parameters being corrupted
>
> > Jonathan,
> >
> > Search the archives for 'command line parameter passing' and you will
find that
> > your parameter will be 32 bytes long when you call the program from the
command
> > line. Best option is to create a command for your program.
> >
> > Joep Beckeringh
> >
> > --
> > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
> > To post a message email: RPG400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> > or email: RPG400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the archives
> > at http://archive.midrange.com/rpg400-l.
> >
>
>
> Jonathan Mason
> www.astradyne-uk.com
>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-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.