IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

HOW TO CREATE A DATASET USING COBOL NOT JCL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Fri Mar 17, 2006 5:36 pm
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
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: 1448
Location: Chicago, IL

PostPosted: Fri Mar 17, 2006 10:41 pm
Reply with quote

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

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

Global Moderator


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

PostPosted: Sat Mar 18, 2006 12:30 am
Reply with quote

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

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
Reply with quote

Hi Prasad,

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top