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

Creating two output datasets


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhicet2003

New User


Joined: 16 Nov 2005
Posts: 21

PostPosted: Sun Jun 25, 2006 4:58 pm
Reply with quote

Using PL/I i am creating a report which contains 1,00,000 records.After the creation i want to export this..Could anyone please tell me how to get the report in two output datasets using PL/I option.
Back to top
View user's profile Send private message
ch.rajashekar1

New User


Joined: 05 Dec 2005
Posts: 4
Location: B'lore

PostPosted: Fri Jul 14, 2006 5:26 pm
Reply with quote

Hi,
Use a counter variable in your program to track the number of records you have written into first output file..once the counter value exceeds 65K records..then stop writing into first output file and start writing into second output file..

Cheers,
Raja Shekar Ch
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
Search our Forums:

Back to Top