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

Using BPXWDYN in C for Z/Os


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshvs
Currently Banned

New User


Joined: 10 Aug 2007
Posts: 30
Location: atlanta

PostPosted: Tue Aug 14, 2007 11:10 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 14, 2007 11:25 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Aug 14, 2007 11:34 pm
Reply with quote

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
View user's profile Send private message
rameshvs
Currently Banned

New User


Joined: 10 Aug 2007
Posts: 30
Location: atlanta

PostPosted: Tue Aug 14, 2007 11:42 pm
Reply with quote

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
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 COBOL - create and write to output fi... COBOL Programming 0
No new posts DataSet member creation failed with B... Java & MQSeries 15
No new posts Dynamically read input files using BP... COBOL Programming 23
No new posts use BPXWDYN after calling CEE3DMP for... COBOL Programming 1
No new posts BPXWDYN (new entrypoint BPXWDY2) COBOL Programming 1
Search our Forums:

Back to Top