Copy AS/400 RPGLE code

450 pts.
Tags:
AS 400
RPGLE
How to copy RPGLE program code to local system?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you want to copy it to a PC a quick and dirty way is to open Excel and use the data transfer process just use the FILE / LIBRARY (MEMBER) and then save the file..

If you plan on editing the source than uploading it back, that is a lot tougher.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Splat
    Cpytoimpf would be another option.
    12,825 pointsBadges:
    report
  • GregManzo
    Yep, I use CPYTOIMPF & CPYFRMIMPF to move source back & forth when needed. The trick is to get the code page right for the ASCII-EBCDIC translation so you can read it.
    2,905 pointsBadges:
    report
  • TheRealRaven
    It depends on what is meant by "local system". I work on remote systems and often copy source to one of my "local systems" during development. But perhaps you mean your "local PC"?

    For my PC, I often use a mapped drive. I have PDM options to copy to/from source files and PC text files in a shared IFS directory. I then access the source text through the mapped drive.

    When actually working on source through my PC, I use RDi (or even WDSC for a couple older systems).

    To copy source members back and forth to PC text files, the best commands are CPYTOSTMF and CPYFRMSTMF.

    Copying between remote and local IBM i systemsdepends on how networking is set up. Within my own local network, it's easiest for me to call the QSYS/QY2FTML API (File Transfer Support). I use a command wrapper that's also set as a PDM option.
    32,320 pointsBadges:
    report
  • Splat
    GregManzo, you're supposed to able to read it?
    12,825 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: