|
You can do it with a data structure that has a zoned overlay on the character value. Seems to me that the parm can't be in the data structure, though so you'll need assign the char parm to the char value in the data structure. > -----Original Message----- > From: Jade Richtsmeier [mailto:jade.richtsmeier@mcis.cog.mn.us] > Sent: Thursday, December 13, 2001 12:18 PM > To: RPG400-L@midrange.com > Subject: Moving char to numeric in free-format RPG > > > Am I trying to do something that isn't do-able in free-format RPG? > > I have a four character year parameter (being passed from an old PL/I > program) into my new RPGLE program. I want to move it to a > four numeric > field for manipulation. What is the best way to do this? > > Thanks! > > Jade Richtsmeier, Programmer/Analyst > Minnesota Counties Information Systems > jade.richtsmeier@mcis.cog.mn.us >
As an Amazon Associate we earn from qualifying purchases.
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.