Create save-files on the target AS/400:
> CRTSAVF FILE(QGPL/WCOUNT25) File WCOUNT25 created in library QGPL. > CRTSAVF FILE(QGPL/WCOUNT25I) File WCOUNT25I created in library QGPL. |
Send save-files from Windows95/98/NT/2000 command prompt:
E:\>ftp your_as400_hostname |
Go back to the 5250 session to restore objects:
> RSTLIB SAVLIB(WCOUNT) DEV(*SAVF) SAVF(QGPL/WCOUNT25) 14 objects restored from WCOUNT to WCOUNT. |
Directories, configuration files are defined at WCOUNT/H(CONFIG). Edit the header file when you want to change them.
0020.00 #define CONFIG_DIR "/QSYS.LIB/WCOUNT.LIB/CONFIG.FILE"Program 'wcount' was compiled on V4R4 specifying V4R2 as TGTRLS. To recompile the package, edit WCOUNT/QREXSRC(MAKE) as you like.
0021.00 #define CONFIG_FILE "COUNT.CFG.MBR"
0022.00 #define DATA_DIR "/QSYS.LIB/WCOUNT.LIB/DATA.FILE"
0023.00 #define DIGIT_DIR "/wcount/digits"
0024.00 #define LOG_DIR "WCOUNT/LOGS"
0025.00 #define LOG_FILE "(LOG)"
0010.00 OLIB = 'WCOUNT'Run the rexx procedure to recompile.
0011.00 SAY " "
0012.00 OUT = '*NONE'
0013.00 OPT = '*IFSIO'
0014.00 DEB = '*ALL'
0015.00 TGT = 'V4R2M0'
Start Count 2.5 compilation.
You must have authority to exec CRTCMOD and CRTPGM.
* * * * * * * * * * * * * * * * * * * * * *
Start creating modules for COMBINE...
creating module allocim...
result-> 0
creating module alphaim...
result-> 0
. . . . . . . . (SNIP) . . . . . . . .
creating module utils...
result-> 0
Creating main program (COUNT)...
result-> 0
Compile finished. Confirm error(s) if exists.
[Home]