Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Dyanamic Dataset creation.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
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: 2150
Location: At my coffee table

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us