View previous topic :: View next topic
|
Author |
Message |
rameshvs Currently Banned New User
Joined: 10 Aug 2007 Posts: 30 Location: atlanta
|
|
|
|
Hi,
We have a requirement where we need to catalogue a VSAM dataset from C on Z/Os. I have to develop the program in C because of some other requirement. I came accross BPXWDYN through some forums but dont really know how to use it. It would be really helpful can throw some light on hoe this can be done and also a working example will be very useful.
Thanks
Ramesh. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You are writing this C code on the mainframe, correct?
You might look into writing the code that must be "C" as a sub-routine and invoke it from a COBOL program that does the VSAM i/o. I suggest this as there are very few topics about mainframe C posted.
If you can find the author of BOXDYN, that may help as well. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Seems to me that it would make more sense to either call IDCAMS with an appropriate set of input instructions, or establish a TSO session and using the DEFINE CLUSTER ... TSO command. |
|
Back to top |
|
|
rameshvs Currently Banned New User
Joined: 10 Aug 2007 Posts: 30 Location: atlanta
|
|
|
|
Thanks a lot for the replies guys.
I am not interested in using Cobol as we need to interact with MVS from an OMVS environment. So What I am thinking is just using C for the entire programming and I need to dynamically build the VSAM file name.
Kevin,
I am thinking like something you were telling too establishing the TSO session and then invoking the TSO commands to define cluster but am not getting any working examples or some standard routines which I can use. I can see that we can use programs like IKJEFTSR and IKJTSOEV but am very new to those too. So dont know exactly how to implement them.
Do you have any ideas or "to Go to" avenues for help.
Thanks
Ramesh. |
|
Back to top |
|
|
|