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
 

 

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: 10231
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 Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


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