|
Two steps.....
1)
CpyToStmF FromMbr('QSYS.LIB/library.LIB/qRpgSrc.FILE/program.MBR') +
ToStmF('/programsource_library/program.RPGLE') +
StmfOpt(*Replace) StmfCodPag(*PcAscii)
2)
With IE (explorer) or another utility (iNavigator - former OpsNav) -
copy the '/programsource_library/program.RPGLE from the IFS to your desktop.
Guess this could be automated with a CMD and a CLLE + calling a .bat file
for step 2 - but I dunno for sure !!!???
Btw: a source code on the IFS can be compiled:
CRTRPGMOD MODULE(LIBRARY/OBJECT) SRCSTMF('/somewhere/on/the/ifs')
Haven't tried it - though :-)
Leif
----- Original Message -----
From: "Bryce Martin"<BMartin@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion"<midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, October 19, 2010 5:26 PM
Subject: Re: Copy source file member to pc
There might be a more elegant way to do it. But in order to do it so that
I don't get all the line number data on the left hand side I use
copy/paste to a notepad file. Clumsy, but works. If anyone knows of a
better way I too would love to know.
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
As an Amazon Associate we earn from qualifying purchases.
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.