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
 
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: 4650
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm

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