|
Thanks to everyone for their help. The IN/OUT functions worked perfectly. Patrick -----Original Message----- From: Barbara Morris [mailto:bmorris@xxxxxxxxxx] Sent: Wednesday, May 28, 2003 7:31 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: data area question Patrick, by putting the DTAARA keyword on the DS line, you've defined it as a character type. Put the dtaara keyword on the numeric variable itself. You can't code the U since it's not a DS, so you'll have to read and write it yourself using IN and OUT. D cmonth s 6s 0 dtaara(PROCYR) * If you just want to read the value: c IN cmonth * If you also want to change the value: c *LOCK IN cmonth .... c OUT cmonth
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.