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: 19243
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top