Create save-files on the target AS/400:
> CRTSAVF FILE(QGPL/ANALOG411) File ANALOG411 created in library QGPL. > CRTSAVF FILE(QGPL/ANALOG411I) File ANALOG411I created in library QGPL. |
Send save-files from Windows95/98/NT/2000 command prompt:
C:\>ftp your_as400_hostname Connected to ????. 220-QTCP AT ????. 220 CONNECTION WILL CLOSE IF IDLE MORE THAN 5 MINUTES. User (????:(none)): as400_user_id 331 ENTER PASSWORD. Password:enter_password_for_the_user_id 230 ???? LOGGED ON. ftp> bi 200 REPRESENTATION TYPE IS BINARY IMAGE. ftp> put analog411.savf qgpl/analog411 200 PORT SUBCOMMAND REQUEST SUCCESSFUL. 150 SENDING FILE TO MEMBER ANALOG411 IN FILE ANALOG411 IN LIBRARY QGPL. 250 FILE TRANSFER COMPLETED SUCCESSFULLY. 5180736 bytes sent in 18.92 seconds (273.87 Kbytes/sec) ftp> put analog411i.savf qgpl/analog411i 200 PORT SUBCOMMAND REQUEST SUCCESSFUL. 150 SENDING FILE TO MEMBER ANALOG411I IN FILE ANALOG411I IN LIBRARY QGPL. 250 FILE TRANSFER COMPLETED SUCCESSFULLY. 2246112 bytes sent in 6.24 seconds (360.01 Kbytes/sec) ftp> quit 221 QUIT SUBCOMMAND RECEIVED. |
Go back to the 5250 session to restore objects:
> RSTLIB SAVLIB(ANALOG) DEV(*SAVF) SAVF(QGPL/ANALOG411) 8 objects restored from ANALOG to ANALOG. > MD DIR('/analog') Directory created. > RST DEV('/qsys.lib/qgpl.lib/analog411i.file') OBJ(('/*') ('/qsys.lib' *OM IT) ('/qdls' *OMIT)) 221 objects restored. |
@
Directories are defined at ANALOG/H(ANLGHEAD). Edit the header file when you want to change them.
#define ANALOGDIR "/analog/"
#define IMAGEDIR "/analog/images/"
Program 'analog' was compiled on V4R4 specifying V4R2 as TGTRLS. To recompile the package, edit ANALOG/QREXSRC(MAKE) as you like. Then run the rexx procedure to recompile.
Start Analog 4.11 compilation.
You must have authority to exec CRTCMOD and CRTPGM.
* * * * * * * * * * * * * * * * * * * * * *
creating module alias...
result-> 0
creating module analog...
result-> 0
creating module cache...
result-> 0
creating module dates...
result-> 0
creating module globals...
result-> 0
. . . . . . . . (SNIP) . . . . . . . .
creating module utils...
result-> 0
creating program Analog (Main) ...
result-> 0
creating CL program Anacgi ...
result-> 0
add symbolic link to programs ...
creating work files ...
result-> 0
result-> 0
Compile finished. Confirm error(s) if exists.
Confirm that your HTTP configuration has following directives using WRKHTTPCFG command or browser configuration. Remember you should stop/start your HTTP instance for changes to take effect.
LogTime localtime
LogFormat Extended (or Common)
At V4R4, you can select from two log formats. I recommend to use 'extended' so that you can analyze 'referer' and 'user agent' reports.
Edit analog configuration file(/analog/analog.cfg) using EDTF command. At least, you should specify log file as follows.
LOGFILE /analog/logs/ACCESSLOG.log.*
[Home]