This Process copies an ASCII file from UNIX to a spool
file on the i5/OS.
See the IBM® Sterling Connect:Direct® for i5/OS™ User’s
Guide for the spool file parameters.
* COPY TO SPOOL FILE *
copy01 process snode=os400
snodeid=(userid,passwrd)
step01 copy from (file=/cd/file1
pnode
sysopts=":datatype=text:xlate=yes:")
to (file=FILE2
snode
sysopts="TYPE( SPLF ) PRTQLTY( *NLQ )"
disp=rpl)
pend
|