Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Dyanamic Dataset creation.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
Ramesh.S

New User


Joined: 08 Jan 2007
Posts: 2
Location: chennai

PostPosted: Tue May 13, 2008 8:28 pm    Post subject: Dyanamic Dataset creation.
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
References
PostPosted: Tue May 13, 2008 8:28 pm    Post subject: Re: Dyanamic Dataset creation. Reply with quote

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2292
Location: italy

PostPosted: Tue May 13, 2008 8:33 pm    Post subject: Reply to: Dyanamic Dataset creation.
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: 1088
Location: At my desk

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

Take a look at how to create datasets dynamically.....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1