• Subject: Re: Beginner needs help w/ decimal field to text field
  • From: VWilliamson@xxxxxxxxxxx
  • Date: Thu, 19 Oct 2000 17:17:22 -0500


Don't be afraid!  You'll kick yourself later if you don't.  Use CVTRPGSRC
and fill in the blanks.
  You can pretty it up later after you know more about extended factor 2.  
Change LOGFILE to *NONE
until you get comfortable with it.  Then go in and code the %EDITC built in 
function.  Once you use it
you won't want to see RPG400 again.  Be sure to create your source file with 
whatever name you want
with a length of at least 112 (CRTSRCPF).  Bob Cozzi's RPGIV book is good also.

                         Convert RPG Source (CVTRPGSRC)

 Type choices, press Enter.

 From file  . . . . . . . . . . . FROMFILE
   Library  . . . . . . . . . . .                  *LIBL
 From member  . . . . . . . . . . FROMMBR
 To file  . . . . . . . . . . . . TOFILE         QRPGLESRC
   Library  . . . . . . . . . . .                  *LIBL
 To member  . . . . . . . . . . . TOMBR          *FROMMBR

                            Additional Parameters

 Expand copy member . . . . . . . EXPCPY         *NO
 Print conversion report  . . . . CVTRPT         *YES
 Include second level text  . . . SECLVL         *NO
 Insert specification template  . INSRTPL        *NO
 Log file . . . . . . . . . . . . LOGFILE      > *NONE
   Library  . . . . . . . . . . .
 Log file member  . . . . . . . . LOGMBR         *FIRST


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 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.