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



I'm looking for some help with passing decimal data from a CL to a RPG program. I have a CL program where it brings up a green screen display file (prompt screen) and asks the user to enter in a couple of fields. One of the fields is a 2 digit decimal field. Once the data is entered I would like to pass the data to a series of CLs that are submitted to batch, and in turn pass the data to a couple of RPG programs. When I run my CL I get a decimal data area in the RPG program. The parameter field in my RPG program is defend as 2 digit packed decimal field. The paramter in the CL program that calls the RPG program is defined is 2 digit decimal field. I know this should be something simple, but I can't for the life of me figure out what I'm doing wrong. Any ideas where I'm going wrong?

Michael Soucy
michaelsoucy@xxxxxxxxxxx


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.