IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

NDM data to multiple path in a server in the same COPY step.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Aug 09, 2012 11:50 pm
Reply with quote

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

Moderator Emeritus


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

PostPosted: Fri Aug 10, 2012 12:57 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts Store the data for fixed length COBOL Programming 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top