|
VARRYING is not allowed with this date conversion. it should be fixed length character variable... Be ignorant than urban insane Smile :-) from your Heart > -----Original Message----- > From: Rich Duzenbury [SMTP:rduz@westernmidrange.com] > Sent: Friday, October 04, 2002 2:51 AM > To: rpg400-l@midrange.com > Subject: Compile error - why? > > Hi, > > I'm getting a compile error on this. What is that rationale for not > allowing one to move from a date field into a VARYING alpha field? This > machine is on V4R5, btw. Now it looks like I'll have to declare a > non-varying field to accept the data, and then do an extra move or eval to > get the data over into $tagval. > > D work_date S D > D $tagval s 512 VARYING > C *usa movel work_date $tagval > > *RNF7560 30 1 Variable-length field is not allowed with this > operation. > > Curious. > > > Regards, > Rich > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. **************************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.