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: 287
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: 4648
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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