View previous topic :: View next topic
|
Author |
Message |
manjinder
New User
Joined: 04 Dec 2005 Posts: 45 Location: pune
|
|
|
|
can anybody tell me how to create data set thru cobol programming. with
small example.
thanx in advance.
regard..
manjinder |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Look for "cob2tso" in Google. This is an example of how to invoke TSO commands from COBOL. You can then use ALLOCATE to create new dataset.
O. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
chandan.inst
Active User
Joined: 03 Nov 2005 Posts: 275 Location: Mumbai
|
|
|
|
Hi manjider,
we can do it using the command (.*intrdr) command at run time
for this we have to assingn a file in cobol program
e.g. infile assigned to dd1
then write the JCl code for creating dataset using cobol syntax and at run time give *.intrdr at dd1
regards,
chandan |
|
Back to top |
|
|
|