Hi
It works on my end. The only difference is I have a generic process and then I
pass the parameters to via my DMBATCH step in the JCL. I don't have a DATACLAS
specified but as you can see the parameters are specified directly in the TO
statement.
DMBATCH JCL:
//ST01#01 EXEC PGM=DMBATCH
//DMNETMAP DD DSN=XXX.XXX.NETMAP,DISP=SHR
//DMPUBLIB DD DSN= XXX.XXX.PROCESS.LIB,DISP=SHR
//DMMSGFIL DD DSN= XXX.XXX.MSG,DISP=SHR
//DMPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=D
//SYSIN DD *
SIGNON CASE=YES
SUB PROC=XXXXXXX &PNODE=XXXXXXXX &SNODE=YYYYYYYY -
&DSN1= XXX.XXX.XXX -
&DISP=SHR -
&DSN2=YYY.YYY.YYY -
&DISP1=NEW -
&DISP2=, -
&DCB=, -
&SPACE=, -
&DSNTYPE=, -
&MGMTCLS=MYYYY -
&STORCLS=SYYYY -
&UNIT=, -
NEWNAME=
SIGNOFF
//*
PROCESS
COPY01 PROCESS PNODE=&PNODE SNODE=&SNODE -
PRTY=5 -
RETAIN=NO -
MAXDELAY=99:00:00
STEP1 COPY FROM (PNODE DSN=&DSN1 -
DISP=&DISP) -
TO (SNODE DSN=&DSN2 -
DCB=&DCB -
DISP=(&DISP1,&DISP2) -
SPACE=&SPACE -
DSNTYPE=&DSNTYPE -
MGMTCLAS=&MGMTCLS -
STORCLAS=&STORCLS -
UNIT=&UNIT) -
CKPT=5M -
COMPRESS EXT
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Gadi Ben-Avi
Sent: Thursday, February 01, 2024 12:12
To: [email protected]
Subject: Re: Connect:Direct question
[You don't often get email from [email protected]. Learn why this is important
at https://aka.ms/LearnAboutSenderIdentification ]
⚠️ CAUTION: EXTERNAL SENDER - Please be careful when opening links and
attachments. ⚠️ Please report any suspicious mail to [email protected].
Nedbank Information Security
Hi,
I tried that but it didn't work.
The manual says that the SMS parameters must be specified in the SYSOPTS.
Gadi
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Rasmussen, A. (Andre)
Sent: יום ה 01 פברואר 2024 11:34
To: [email protected]
Subject: Re: Connect:Direct question
[You don't often get email from [email protected].
Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Hi Gadi
Those aren't SYSOPTS options. You need to code it something like this.
CPYSEQ PROCESS -
SNODE=RTST
COPY1 COPY -
FROM (DSN=G120NTN.KVTNKSP.UNLOAD -
DISP=SHR -
PNODE -
) -
TO (DSN=G120NTN.KVTNKSP.UNLOAD -
DISP=(NEW,CATLG) -
SPACE=(CYL,(999,9999),RLSE) -
STORCLAS=RKF1 -
DATACLAS=EXT -
SNODE -
)
Regards
Andre
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Gadi Ben-Avi
Sent: Wednesday, January 31, 2024 15:51
To: [email protected]
Subject: Connect:Direct question
⚠️ CAUTION: EXTERNAL SENDER - Please be careful when opening links and
attachments. ⚠️ Please report any suspicious mail to [email protected].
Nedbank Information Security
Hi,
I am trying to transfer a file using Connect:Direct from one z/OS system to
another.
I need to specify both STORCLAS and DATACLAS.
This is what I am writing:
CPYSEQ PROCESS -
SNODE=RTST
COPY1 COPY -
FROM (DSN=G120NTN.KVTNKSP.UNLOAD -
DISP=SHR -
PNODE -
) -
TO (DSN=G120NTN.KVTNKSP.UNLOAD -
DISP=(NEW,CATLG) -
SPACE=(CYL,(999,9999),RLSE) -
SYSOPTS="STORCLAS=RKF1 DATACLAS=EXT" -
SNODE -
)
And I keep getting errors.
How to I specify more than one parameter in SYSOPTS. I've tried writing a comma
between the parameters with the same results.
Thanks
Gadi
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
********************
Nedbank Limited group of companies (Nedbank) disclaimer and confidentiality
notice:
This email, including any attachments (email), contains information that is
confidential and is meant only for intended recipients. You may not share or
copy the email or any part of it, unless the sender has specifically allowed
you to do so. If you are not an intended recipient, please delete the email
permanently and let Nedbank know that you have deleted it by replying to the
sender or calling the Nedbank Contact Centre on +27 (0)800 555 111 (local) or
+27 (0)10 2170 000 (international).
This email is not confirmation of a transaction or a Nedbank statement and is
not offering or inviting anyone to take up any financial products or services,
unless the content specifically indicates that it does so. Nedbank will not be
liable for any errors or omissions in this email. The views and opinions are
those of the author and not necessarily those of Nedbank.
The names of the Nedbank Board of Directors and Company Secretary are available
here: http://www.nedbank.co.za/terms/DirectorsNedbank.htm. Nedbank Ltd Reg No
1951/000009/06.
********************
----------------------------------------------------------------------
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN