View previous topic :: View next topic
|
Author |
Message |
srivasab
New User
Joined: 25 May 2005 Posts: 2 Location: india
|
|
|
|
is there any way to create a net dataset (sequential or partioned) using cobol program, not the jcl.
thanks for help |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
You can
- Use the BPXWDYN (Dynamic Allocation) program. Search for it.
- Use a TSO ALLOC command by calling the IKJTSOEV and IKJEFTSR programs. Again, search for it.
- Call the IDCAMS program, using the IDCAMS ALLOC command as input.
- Run the program in a TSO/ISPF address space and use all of the available TSO and ISPF services you want. |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
no, in cobol there is nothing like this.
you have to use any utility, which is
able to do this as mentioned above.
you can also write your own assembler program,
in assembler you can do everything...
martin9 |
|
Back to top |
|
|
srivasab
New User
Joined: 25 May 2005 Posts: 2 Location: india
|
|
|
|
well last three will not be suiting me but the BPXWDYN (Dynamic Allocation) utility is great . i'll try to search it as i never used it.
anyways ....
thanks guys |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
i cannot tell about bpxwdyn for datasets,
but this reminds me of UnixSystemServices
for z/OS. Therefore i assumed this to allocate
any file for USS. Pls try it out and tell us...
martin9 |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|