Hi All,

I am facing some difficulty in ILE. I have coded one ILE module. I
 have a ISO  Date field (D spec defined as D type). I am moving this
 ISO date (CCYY-MM-DD)  to a 20 char field @TEMP by removing the separators.
 This I am doing

   *ISO0    MOVEL(P) ISO_DATE         20CharDate

 If the date is 1998-07-06, my new 20 char field contains '19980706'.
 Everything is fien upto this point.

 If I try to compile this member as a module (CRTRPGMOD), I am getting
 error  here. The compiler is saying that Factor1 (*ISO0) is not valid.
 Defaults to  blanks.

 But the same  member if I compile as a separate direct program using
 CRTPGM, then it is working well. What is that big difference between BNDMOD
 and PGm  creation as far as compilation is concerned. Let me know.

Thanx in advance for any suggestions

Rgds
Vg
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.