Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
I am a newbie at RPGLE. What I am doing is a migration conversion
program from the HP to IBM for my work. I currently have the program
scan for one line and change the HP command to an AS400 one. I have
it working perfectly in most areas but one.
I need to scan these two lines as example:
FILE DATAIN=FEDRECD1
FILE DATAOUT=FEDSRTD
From there I need to turn those two lines into:
CPYF FROMFILE(FEDRECD1) TOFILE(QTEMP/FEDSRTD) +
CRTFILE(*YES)
I can get my output to be, using EVAL %SUBST:
CPYF FROMFILE(FEDRECD1) TO FILE(QTEMP/ ) +
CRTFILE(*YES)
<<SNIP code>>
My question is what can I use/do to have my program scan these two
lines of code and get it into one line, or have my separate SR's
<ed:¿SubRoutines?> talk to get DATAIN/OUT in the correct positions
on one line?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.