Ü  TO send objects from one system to another using SNDNETF

 

Here we will send the file from system SYSTEM401 to SYSTEM405

 

SYSTEM401 system

 

(1)      Create save file in production

(2)      Save object by using the save file previously created.

(3)      Send the file to userid of target system.

 


CRTSAVF FILE(QTEMP/SAV001)
File SAV001 created in library QTEMP.

SAVOBJ OBJ(TOTAL SMART DCPS SPP) LIB(QTEMP) DEV(*SAVF) SAVF(QTEMP/SAV001)
4 objects saved from library QTEMP.

SNDNETF FILE(QTEMP/SAV001) TOUSRID((USER405 SYSTEM405))
File SAV001 in QTEMP member SAVF sent to 1 users. Not sent to 0 users.

 

 

SYSTEM405 system

 

(1)      WRKNETF

(2)      Create save file in SYSTEM405

(3)      Use option 1 against the file to retrieve it.

(4)      Restore all the object to restore-library.

 


WRKNETF
CRTSAVF FILE(QTEMP/SAV001)  
RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QTEMP/SAV001) RSTLIB(AMI001)











User Comments:



Subscribe

.  


Copyright © www.go4as400.com, 2013-2023. Copyright notice   Terms of services   Privacy policy