Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CVTRPGSRC From RPG To RPGIV

Status
Not open for further replies.

Skittle

ISP
Sep 10, 2002
1,528
US
Hi,

I ocassionally convert some of my old RPG400 programs to RPGIV using the CVTRPGSRC command.

One problem I have with it is that all of the modification dates on the right hand side of the source are set to the
conversion date. Is there a way to retain the original modification dates from my RPG400 source?

The conversion also removes any text comments ( usually a modification number ) stored in the left margin of the source lines and writes a sequential number in its place.
Anybody know how to stop this?

Many thanks.

Roy Matthews
 
I've just tested CVTRPGSRC and have no problems with the date being changed.
Your not missing the mod number. When viewing or editing an RPGIV program, SEU starts the display in position 6. Type "W1" over a line number to reposition the source to column 1.

===> CVTRPGSRC FROMFILE(WRHLIB/QRPGSRC) FROMMBR(ES205) TOFILE(WRHLIB/QRPGLESRC) CVTRPT(*NO)
 
Hmmm this is strange because this is not how it works for me. Perhaps its due to the source type. The source I have conveted is a 'RPT'. The comments have gone from the ledt margin even when viewing the entire source width and the dates have been reset to 000000. All very odd.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top