This might get you started....
This is the PROCESS
This PROCESS takes a catalogued dataset from the Sending node and
transmits it to a new dataset on the receiving nodes. It also uses extended
compression!!!
COPYDSN PROCESS SNODE=&TONODE
FT16COPY COPY FROM(DSN=&FMFILE -
DISP=(SHR,KEEP,KEEP) -
PNODE) -
TO (DSN=&TOFILE -
DISP=&TODISP -
DCB=&DCB -
UNIT=&UNIT -
SNODE) -
COMPRESS EXT
This is the JOB that submits the PROCESS
//DMBATCH EXEC PGM=DMBATCH,REGION=1024K,PARM=(YYSLYNN)
//STEPLIB DD DISP=SHR,DSN=SYS2.NDMV6100.USRLINK
// DD DISP=SHR,DSN=SYS2.NDMV6100.LINKLIB
//DMNETMAP DD DISP=SHR,DSN=S9000.NDM$1.NETMAP
//DMPUBLIB DD DISP=SHR,DSN=S9000.NDM.PROCESS.LIB
// DD DISP=SHR,DSN=SYS2.NDM.PROCESS.LIB
//DMMSGFIL DD DISP=SHR,DSN=S9000.NDM$1.MSG
//DMPRINT DD SYSOUT=*
//SYSIN DD *
SIGNON USERID=(userid,password) -
ESF=YES
SUBMIT PROC=COPYDSN HOLD=NO -
NEWNAME=TESTV61A -
SNODEID=(userid2,password2) -
&TONODE=SEINDM04 -
&FMFILE=SYS2.NCP.LOADLIB -
&TOFILE=SCNS03.NCP.LOADLIB -
&TODISP=(NEW,CATLG,DELETE) -
&UNIT=3390 -
&DCB=,
SIGNOFF
/*
I am using two nodes, SEINDM01 and SEINDM04, The first userid,password
coded on the SIGNON statement is for a valid userid on the system where the job
is submitted.
The second userid2,password2 coded on the SNODEID statement is for a
valid userid on the system where the receiving node is running. In my case this
is where SEIND04 is running.
I would recommend that you use userids that have non-expiring password
and authorize these for Connect:Direct and batch only!! You will also need to
substitute your datasets for STEPLIB, DMNETMAP, DMPUBLIB and DMMSGFIL
accordingly.
Good Luck
Tony
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Kenneth J. Kripke
Sent: Sunday, January 22, 2023 12:16 PM
To: [email protected]
Subject: IBM's Connect:Direct for z/OS;Batch Override=Y, SNODEID= use
[[ SEI WARNING *** This email was sent from an external source. Do not open
attachments or click on links from unknown or suspicious senders. *** ]]
I apologize beforehand for asking, but, I am looking for the correct syntax to
use Connect:Direct 6.x to transfer from one system to another,
Specifying a different HLVL that is defined on the target system. I know how
to do this kind of submit using the product provided panels where I can specify
Override Security and specify
Both the Pnode use rid and password as well as the Snode use rid and password
and specify the Sending dsn as well as the Receiving dsn. The goal is to be
able to automate a process to transfer files from one system to a completely
different system.
Any advice or help would be appreciated.
Kenneth J. Kripke
[email protected] <mailto:[email protected]>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN