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
 

 

HOW TO CREATE A DATASET USING COBOL NOT JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
friend_prasad

New User


Joined: 06 Jan 2006
Posts: 12

PostPosted: Fri Mar 17, 2006 9:17 am    Post subject: HOW TO CREATE A DATASET USING COBOL NOT JCL
Reply with quote

HOW TO CREATE A DATASET USING COBOL NOT JCL
PLS REPLY
THANKS
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Mar 17, 2006 5:36 pm    Post subject:
Reply with quote

If you run under TSO or in batch, you can issue TSO commands (like ALLOCATE) from within COBOL. Search Google for COB2TSO.

O.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 6:19 pm    Post subject:
Reply with quote

hy prasad,

you want to allocate any dataset dynamically from a cobol program,
without specifying in the jcl. yes you can do this, but you will need
special utilities to do it. cobol directly is not able to do it.
but this was already a topic in this forum, search for dynamic allocation...

martin9
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Mar 17, 2006 10:41 pm    Post subject: Re: HOW TO CREATE A DATASET USING COBOL NOT JCL
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=132

Regards,
Priyesh.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Sat Mar 18, 2006 12:30 am    Post subject: Re: HOW TO CREATE A DATASET USING COBOL NOT JCL
Reply with quote

Didn't some else just ask the exact same question?

http://www.ibmmainframes.com/viewtopic.php?t=9603
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 18, 2006 9:05 pm    Post subject:
Reply with quote

Hi Prasad,

The following link has some good info. I also sent you some code via PM.

http://ibmmainframes.com/viewtopic.php?t=135
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 Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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