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

Dyanamic Dataset creation.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ramesh.S

New User


Joined: 08 Jan 2007
Posts: 2
Location: chennai

PostPosted: Tue May 13, 2008 8:28 pm
Reply with quote

Hi,

I want to create a cobol program to datasets dynamically for seven times.

i used a perform loop to create this but only one file getting created..

i want to create files like as below,

DX45.KLTRAN.B++++.OVERNGHT.DAY1
DX45.KLTRAN.B++++.OVERNGHT.DAY2
DX45.KLTRAN.B++++.OVERNGHT.DAY3
DX45.KLTRAN.B++++.OVERNGHT.DAY4
DX45.KLTRAN.B++++.OVERNGHT.DAY5
DX45.KLTRAN.B++++.OVERNGHT.DAY6
DX45.KLTRAN.B++++.OVERNGHT.DAY7

is there any logic in cobol program to do like tis.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue May 13, 2008 8:33 pm
Reply with quote

Quote:
... i used a perform loop to create this...


the logic ( perform loop )is reasonable,
maybe the implementation was a little flaky icon_smile.gif
but without seeing we cannot tell
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue May 13, 2008 8:40 pm
Reply with quote

Take a look at how to create datasets dynamically.....
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top