|
Hi Thomas,
It was great to talk to you live this morning. Congratulations on your
team winning the World Series.
Here are the steps I did to download the source:
1. Download the zip file to my pc. For example, the link "XSQL – SQL
scripts with variables" downloaded a zip file named "XSQL_ENG".
2. Extract the zip file contents. For example, "XSQL_ENG.SAVF"
3. On the IBMi, create a save file. For example:
CRTSAVF FILE(THOMAS/XSQL_ENG) TEXT('Download from book')
4. On your pc, open a DOS window and CD to where the contents are. I
downloaded and extracted the contents to my Downloads folder.
CD Downloads
FTP <ip address of your IBM i>
enter user id and password
BIN
FTP xsql_eng.savf thomas/xsql_eng
quit
exit
On the IBM i:
5. Display the save file to see what's in it.
DSPSAVF thomas/xsql_eng
I can see the save file contains one PF named QXSQL_ENG and it was saved
from library MDUCA1
6. Restore the file.
RSTOBJ OBJ(QXSQL_ENG)
SAVLIB(MDUCA1)
DEV(*SAVF)
SAVF(THOMAS/XSQL_ENG)
MBROPT(*ALL)
RSTLIB(THOMAS)
This will restore the source pf named QXSQL_ENG.
Hope this helps.
Yours truly,
Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
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.