Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there a way to NDM a particular number of records?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
venksiv

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Thu Mar 10, 2016 7:52 pm    Post subject: Is there a way to NDM a particular number of records?
Reply with quote

Hi all,

I have a huge list of PS files which are required in the testing environments. I do not need the full file (might contain even millions of records). Is there a way to override the default FULL file transmission and transmit only a lesser, say 1000, records in the file during NDM proc execution?

Please share your expertise.

My attempt:
I thought a roundabout way but I'm sure is not suitable for this situation as this might involve execute multiple JCL - one thousand jobs for one thousand files unless I write a logic to combine EXEC steps to allowed limit in a single job:
Step 1: Construct the JCL IDCAMS step to REPRO the file with COUNT(N) as 1000
Step 2: Append a NDM step to transmit the REPRO output file
Step 3: Execute each job corresponding to a file
Back to top
View user's profile Send private message

venksiv

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Fri Mar 11, 2016 12:39 pm    Post subject:
Reply with quote

I only need a reduced number of records to be sent to target region. Kindly advise if there is a way restrict NDM from transmitting full file but send only a lesser number of records - "intentionally truncate a file" in other words.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Fri Mar 11, 2016 2:01 pm    Post subject:
Reply with quote

You could, possibly, pre-allocate your output datasets to a minimal size with no secondary extents and the NDMs will fail with space errors but you could live with that. Try with one dataset first. Otherwise, if it ain't in the manual it ain't possible.
Back to top
View user's profile Send private message
venksiv

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Tue Mar 15, 2016 4:19 pm    Post subject:
Reply with quote

Thanks, Nic.

I spent a few extra hours and implemented the second idea and it's working fine so far.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts how to split records based on specifi... Venkata Ramayya DFSORT/ICETOOL 6 Wed Sep 28, 2016 3:20 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us