Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Using BPXWDYN in C for Z/Os

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Using BPXWDYN in C for Z/Os
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

Site Director


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

PostPosted: Tue Aug 14, 2007 11:25 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Aug 14, 2007 11:34 pm    Post subject: Reply to: Using BPXWDYN in C for Z/Os
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Problem using BPXWDYN easebourne_ironfist COBOL Programming 15 Fri Mar 08, 2013 3:19 pm
No new posts BPXWDYN Help needed Narender Sajnani JCL & VSAM 9 Fri Sep 14, 2012 12:04 am
No new posts BPXWDYN to get the current generation... superk CLIST & REXX 2 Fri Aug 31, 2012 9:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us