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



William,

You would have the character or decimal param problems if instead of doing a
call on the submit you create a command that specifies the CL as its command
processing program.

It's not CL that has a problem.  It's the command interpreter itself.  By
creating a command to use, you eliminate the problems.

Charles


> -----Original Message-----
> From: William Washington III [mailto:w.washington3@xxxxxxxxxxxxx]
> Sent: Friday, April 30, 2004 12:56 PM
> To: rpg400-l@xxxxxxxxxxxx
> Subject: RE: Passing parms of len(100) type(*char) from ILE 
> RPG to ILE CL to ILE RPG
> 
> 
> Thanks, Buck.
>  
> Yeah, the interactive ILE RPG program called the ILE CLP 
> program.  Then the ILE CLP program then submitted itself with 
> the same parameters to a batch subsystem.  
>  
> Once the ILE CLP program was running in batch, it called 
> several ILE RPG programs with the same paramters.
>  
> I was getting "Null values in ifs directory name" errors... 
> now I understand that the problem occurred when I resubmitted 
> the CLP with the 100-char parm via SBMJOB.
>  
> (Now all I do is copy the 100-char parm into a 101-char field 
> with the last character of "*", then use the 101-char field 
> as the parameter when submitting itself.  Now, only if CL 
> could get away from the 15p5 decimal field issues...  ;-)
> 
> Thanks again!
>  
> William
> 
> date: Fri, 30 Apr 2004 09:42:29 -0400
> from: "Buck Calabro" 
> subject: Re: Passing parms of len(100) type(*char) from ILE RPG to ILE
> CL to ILERPG
> 
> William wrote:
> > I keep getting garbage data in my character
> > parameters when I pass them from ILE RPG
> > to ILE CL to ILE RPG.
> 
> If the parameter size/type matches the argument size/type you can pass
> any size variable (within the limits of the programming language)
> between any languages. Most often, garbage in the parameter means you
> are calling the program from the command line (which includes SBMJOB
> and QCMDEXC.) See the FAQ at http://faq.midrange.com Search for
> 'garbage'.
> --buck
> _______________________________________________
> 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 ...


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.