IBM Support

Steps to do a SNDNETF to Remote System Using SNADS

Troubleshooting


Problem

This document contains an example of sending and receiving a network file between two IBM System i systems.

Resolving The Problem

On the Source system, run the following commands, and press the Enter key after each command:

CRTLIB IBM

CRTSAVF (QGPL/IBMSAVF)

CRTDUPOBJ OBJ(QFILE) FROMLIB(QUSRSYS) OBJTYPE(*FILE) TOLIB(IBM) DATA(*YES)

SAVLIB LIB(IBM) DEV(*SAVF) SAVF(IBMSAVF)

SNDNETF FILE(IBMSAVF) TOUSRID((REMOTE_USERID REMOTE_SYSTEM))


On the Target system, run the following commands, and press the Enter key after each command:

CRTSAVF FILE(QGPL/IBMSAVF)

WRKNETF *ALL
Select Option 1
RCVNETF, and press F4 to prompt
Specify the following parameter values: TOFILE(IBMSAVF) LIBRARY( QGPL)

RSTLIB SAVLIB(IBM) DEV(*SAVF) SAVF(QGPL/IBMSAVF)


To view data on the Target system, on the operating system command line type the following:

STRPDM

Press the Enter key. Then, select Option 3

Note: QFILE is the object to send. The example has QUSRSYS for its FROMLIB.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

26402715

Document Information

Modified date:
18 December 2019

UID

nas8N1017039