Quick and dirt way to backup my greenscreen pgms to my pc

385 pts.
Tags:
AS/400
RPGIV
Quick and dirt way to backup my greenscreen as400 pgms to a text file or word file on the C: of my PC.

Answer Wiki

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

One way would be copy the source file member to *print.

Then using operations navagator copy the spoolfile to your pc (use the drag and drop)
and you now have a text file on your pc.

If you want multiple members create a cl to copy all the members to print.

Discuss This Question: 7  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Do you want manual or automatic? Create a symbolic link in your /home directory that points to one of your source files. Set up a NetServer share for your home directory. In the NetServer share properties, set text conversion for .mbr files to handle EBCDIC/ASCII conversion. When you want a copy, navigate through Windows Explorer to the share, drag the symbolic-link folder icon to a directory on your PC. When the copy finishes, all of the members should be in the directory that was just copied to your PC. Or, if your PC is a Windows NT (or newer) PC or a Linux PC that's interacting with Windows networking, issue a CPY command to copy the symbolic-link directory to a share that's exported from your PC. Drag/drop would be manual. The CPY command could be automated. Tom
    125,585 pointsBadges:
    report
  • nitzinger
    Create a symbolic link in your /home directory that points to one of your source files. How is this done?
    385 pointsBadges:
    report
  • NullFields
    If you are planning on restoring to an iSeries, just do a SAVOBJ to a SAVF and FTP the SAVF to your PC. Recover the source with a FTP back to an iSeries and then RSTOBJ.
    880 pointsBadges:
    report
  • nitzinger
    Create a symbolic link in your /home directory that points to one of your source files. How do you create a symbolic link?
    385 pointsBadges:
    report
  • NullFields
    You can use FTP: Open a command window on PC and change your PC directory to the location you want your file to be located FTP iseries-server login with your ID change fiel type to ASCII CD to the library where source files are located mget source-file.* (to get all the members or some other wild card to get subset) OR get source-file.member-name to get specific member quit to get out of FTP For example, after logging into FTP: ASCII CD myLIB mget QCBLLESRC.prj* will retrieve all the member from QCBLLESRC in library myLIB that begin with PRJ*
    880 pointsBadges:
    report
  • Koohiisan
    Create a symbolic link in your home folder to a source file: ADDLNK OBJ('/QSYS.LIB/[my source library].LIB/QCGISRC.FILE') NEWLNK('/home/[my username]/cgisrc')
    5,020 pointsBadges:
    report
  • pdraebel
    There is another discussion in this forum going on. Check: http://itknowledgeexchange.techtarget.com/itanswers/how-to-convert-rpg-to-a-txt-file/
    2,675 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following