Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
NDM data to multiple path in a server in the same COPY step.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
renjith.k.ramachandran

New User


Joined: 11 Jul 2012
Posts: 2
Location: india

PostPosted: Thu Aug 09, 2012 11:42 pm    Post subject: NDM data to multiple path in a server in the same COPY step.
Reply with quote



Hi,

I need suggestions to NDM data to MULTIPLE paths of a server.

Under Process Step we assign values to some of the NDM parameters like -
PNODE=Origination server
SNODE=Destination server
&IDSN1=input file
&ODSN1=output path
&ODSN2= output path (incase of multiple output locations)

And in COPY step we write -
COPY FROM=(DSN=&IDSN1 PNODE DISP=SHR) -
TO=(DSN=&ODSN1 SNODE DISP=(RPL))

COPY FROM=(DSN=&IDSN1 PNODE DISP=SHR) -
TO=(DSN=&ODSN2 SNODE DISP=(RPL))

Is there a way to concatenate the above 2 COPY steps to have one FROM and one TO parameter (where the 2 different paths can be mentioned together)

Regards,
RKR
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Aug 09, 2012 11:50 pm    Post subject: Reply to: NDM data to multiple path in a server in the same
Reply with quote

Not that I'm aware of, no.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2012 12:57 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Even if you find a way to send "both at once" suggest you do not implement.

If there ever are problems, using separate processes will be much easier to diagnose / correct / rerun.
Back to top
View user's profile Send private message
renjith.k.ramachandran

New User


Joined: 11 Jul 2012
Posts: 2
Location: india

PostPosted: Fri Aug 10, 2012 8:01 am    Post subject: Reply to: NDM data to multiple path in a server in the same
Reply with quote

Thanks icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Defining SSL Port in TCPIP for DB2 Se... Yolanda Harvey TSO/ISPF 1 Wed Mar 28, 2018 7:33 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us