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



An RPG program can be a CPP for a command.
The CPP does not need to be the same name as the command.

Loyd

-----Original Message-----
From: Smith, Nelson [mailto:NSmith@lincare.com]
Sent: Monday, July 01, 2002 8:56 AM
To: 'midrange-l@midrange.com'
Subject: RE: Command Parameter Question


Having done so many commands, do you find it desirable/necessary to always
have a separate CPP even when it doesn't do anything?  In my case, the
command was front-ending a RPG program and the parms just went straight in
without change, so I was trying to avoid having a separate CL program.  I
did try your suggestion anyway though, and put the CHGVAR into a separate CL
program in between the command and the RPG program and it works fine, of
course.  It did cause me to have to rename the command, however, since it
used to be the same as the RPG program.

I can see the utility of having a separate CPP, just a few more pieces to
keep up with.  From your experience, would you see any problem with having
the CL and RPG modules the same name as the command and just bind the two
modules into one ILE program object with the same name as the command?



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.