How do I get the *ACSII PC files over to the iSeries/400 ???


Sign onto the iSeries/400 using an account with *SECOFR authority.

On the iSeries/400, create a library (temporary) called TEMPLIB. (Note: QTEMP must not be used): CRTLIB TEMPLIB

Add this library to the library list: ADDLIBLE TEMPLIB

Create a Save file in the same library as the physical file: CRTSAVF FILE(TEMPLIB/SAVF)

You can either FTP the data directly into the TEMPLIB/SAVF, or continue with the following steps to file transfer.

Create a physical file using the following command: CRTPF FILE(TEMPLIB/FILE528) RCDLEN(528) SIZE(*NOMAX) MBR(*FILE) FILETYPE(*DATA)

On the PC, you can either file transer or use shared folders to get the data into the TEMPLIB/FILE528 physical file.

What do I do with the FILE528 ?

Afterwards, on the iSeries/400, send the file ‘to yourself’ using the SNDNETF command: SNDNETF FILE(TEMPLIB/FILE528) TOUSRID(USERID ADDRESS) where USERID is the account you signed on as and where ADDRESS is the address that is referenced in the Work Directory Entries for communications. (For example, if using QSECOFR, the Address would also be QSECOFR.)

After it has finished sending, receive the file using the RCVNETF command. : (To verify if it has finished sending, use WRKNETF). RCVNETF FROMFILE(FILE528) TOFILE(TEMPLIB/SAVF)

Restore the MISYS library from the save file: RSTLIB SAVLIB(MISYS) DEV(*SAVF) SAVF(TEMPLIB/SAVF) or restore the objects from the save file into MISYS: RSTOBJ OBJ(*ALL) SAVLIB(MISYS) DEV(*SAVF) SAVF(TEMPLIB/SAVF) ALWOBJDIF(*ALL) MBROPT(*ALL)

Once restored, library TEMPLIB is no longer needed, and may be deleted.

 

How do I File Transfer ?

You can use the Client Access File Transfer or any other file transfer program.

Regardless of the program used, ensure that the following options are used, if they are available:

After the above settings are set, transfer the file to the iSeries/400 into the TEMPLIB/FILE528 physical file. click here to continue

 

How do I use SHARED FOLDERS ?

On the PC Using Shared Folders, copy the file to a folder in QDLS, for example /QDLS/TEMP (Whatever folder is chosen, QSECOFR should have access to this folder from an iSeries/400 session... ALSO, the username that you use when connecting to Shared Folders must first be enrolled in Shared Folders on the iSeries/400.)

On the iSeries/400, copy the contents of the PC "document file" into the TEMPLIB/FILE528 physical file: CPYFRMPCD FROMFLR(TEMP) TOFILE(TEMPLIB/FILE528) FROMDOC(SAVF) TRNTBL(*NONE) TRNFMT(*NOTEXT) click here to continue

How do I just FTP it ?

Make your usual FTP connection to the iSeries/400.

After logging on, specify the following FTP subcommands (assuming the file is on the desktop):

Restore the MISYS library from the save file: RSTLIB SAVLIB(MISYS) DEV(*SAVF) SAVF(TEMPLIB/SAVF) or restore the objects from the save file into MISYS: RSTOBJ OBJ(*ALL) SAVLIB(MISYS) DEV(*SAVF) SAVF(TEMPLIB/SAVF) ALWOBJDIF(*ALL) MBROPT(*ALL)

Once restored, library TEMPLIB is no longer needed, and may be deleted.