473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Retrieve z/OS Dataset Allocation Parameters

I am attempting to retrieve various MVS dataset allocation parameters
(lrecl, block size, etc) from a C/C++ program. The C/C++ Run-time
Library Reference states that the function svc99() can be used for
this purpose; however, it gives no specifics or examples on how to do
this. It only shows how to use svc99() to dynamically allocate and
free datasets, not retrieve their information. I've searched
extensively around the web for examples (or other solutions), but I
haven't been able to find any.

Does anyone have any examples of how to do retrieve these allocation
parameters? If there is a better way than using svc99(), I am of
course open to that as well.
Jul 22 '05 #1
4 2570
Jerry Orr wrote:
I am attempting to retrieve various MVS dataset allocation parameters
(lrecl, block size, etc) from a C/C++ program. The C/C++ Run-time
Library Reference states that the function svc99()
What [sub]clause of the C Standard document describes that function?
I couldn't find it. What "reference" are you talking about? Is that
a programming manual for your OS? Then you better ask about it in
a newsgroup that deals with your OS. Try 'comp.os.<yourOS>.programmer'
can be used for
this purpose; however, it gives no specifics or examples on how to do
this. It only shows how to use svc99() to dynamically allocate and
free datasets, not retrieve their information. I've searched
extensively around the web for examples (or other solutions), but I
haven't been able to find any.

Does anyone have any examples of how to do retrieve these allocation
parameters? If there is a better way than using svc99(), I am of
course open to that as well.


Since there is no 'svc99' in the C++ or C Standard Library, nothing can
be said about it here, in comp.lang.c++. You have to ask elsewhere.
The newsgroup for your OS is your best bet, I think.

V
Jul 22 '05 #2
Jerry Orr wrote:
I am attempting to retrieve various MVS dataset allocation parameters
(lrecl, block size, etc) from a C/C++ program. The C/C++ Run-time
Library Reference states that the function svc99() can be used for
this purpose; however, it gives no specifics or examples on how to do
this. It only shows how to use svc99() to dynamically allocate and
free datasets, not retrieve their information. I've searched
extensively around the web for examples (or other solutions), but I
haven't been able to find any.

Does anyone have any examples of how to do retrieve these allocation
parameters? If there is a better way than using svc99(), I am of
course open to that as well.


This is z/os specific and as such is off topic for this group.
<OT>
Have a look at the fldata function in the C/C++ runtime library
reference. It should do what you want.

Future z/os C/C++ specific questions should be directed to
ibm.software.vacpp.os390.compiler
</OT>
Jul 22 '05 #3
As the subject implies, I am dealing with an IBM z/OS system. I
appreciate the suggestion to post is 'comp.os.<yourOS>.programmer',
but I am unable to find any appropriate newsgroups out there (z/OS,
OS/390, or MVS would all make sense). I've looked around for more
specific newsgroups, but this is the best I could find.

Though many of the posters in this newsgroup will likely have no
experience with C++ for z/OS, my hope is that there are z/OS C++
programmers out there reading this forum.

For clarification, the reference manual I was referring to was "z/OS
V1R4.0 C/C++ Run-Time Library Reference", section 3.788. It is
available online at:

http://publibz.boulder.ibm.com/cgi-b...20030305133847

Thanks for your reply... hopefully someone out there can help me!

Jerry
Victor Bazarov <v.********@comAcast.net> wrote in message news:<fX***************@newsread1.dllstx09.us.to.v erio.net>...
Jerry Orr wrote:
I am attempting to retrieve various MVS dataset allocation parameters
(lrecl, block size, etc) from a C/C++ program. The C/C++ Run-time
Library Reference states that the function svc99()


What [sub]clause of the C Standard document describes that function?
I couldn't find it. What "reference" are you talking about? Is that
a programming manual for your OS? Then you better ask about it in
a newsgroup that deals with your OS. Try 'comp.os.<yourOS>.programmer'
> can be used for
this purpose; however, it gives no specifics or examples on how to do
this. It only shows how to use svc99() to dynamically allocate and
free datasets, not retrieve their information. I've searched
extensively around the web for examples (or other solutions), but I
haven't been able to find any.

Does anyone have any examples of how to do retrieve these allocation
parameters? If there is a better way than using svc99(), I am of
course open to that as well.


Since there is no 'svc99' in the C++ or C Standard Library, nothing can
be said about it here, in comp.lang.c++. You have to ask elsewhere.
The newsgroup for your OS is your best bet, I think.

V

Jul 22 '05 #4
Well, at any rate, your off-topic answer to my off-topic question was
exactly what I was looking for. And though showing gratitude for an
off-topic answer is inherently off-topic in itself, I thank you
anyway.

Seriously, though, thanks!

~Jerry
This is z/os specific and as such is off topic for this group.
<OT>
Have a look at the fldata function in the C/C++ runtime library
reference. It should do what you want.

Future z/os C/C++ specific questions should be directed to
ibm.software.vacpp.os390.compiler
</OT>

Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Luki | last post by:
Hello i'm stuck on a seemingly small problem. i'm trying get the default value of a column in a table on a MS SQL Server. i try to use sp_columns. eg sp_columns @table_name = 'addresses' in...
5
by: Grant | last post by:
Hello, How come when I add a new row to my dataset table it shows up as changed (agencyData.Haschanges() = True) but when I delete a row the dataset thinks here are no...
0
by: Ramkumar | last post by:
Hi I am calling a DB2 stored procedure with 3 parameters. The last one is an inout parameter in which a value is returned (SQLCODE). I am using the DB2DataAdapter object's fill method to return a...
5
by: Roy Gourgi | last post by:
Hi, I am used to working in Visual FoxPro and I would like to be able to create a database and store and retrieve information from it. What is the simplest way to do it and what should I be...
2
by: Vinod I | last post by:
Hi Team, I want to use DataSet in my ASP.Net application extensively. Scenario is, I am showing Data Set in one of my ASP.Net Page and changing row & column values thru Page. After that I...
0
by: r1 | last post by:
I am relatively inexperienced in using delegates and asynchronous methods. I read several articles, and then I developed my own code with a mission to improve the performance. Wow! I cannot...
1
by: whidbey | last post by:
Hello friends, I am whidbey, new to thescripts and dot net as well.I am working over Online Shopping Cart,web application.I design a page (webform5.aspx) where user search books then select the books...
0
by: whidbey | last post by:
Hello friends, I am whidbey, new to thescripts and dot net as well.I am working over Online Shopping Cart,web application.I design a page (webform5.aspx) where user search books then select the books...
1
by: prajin | last post by:
i have to retrieve hidden data from gridview. hidden data is Usr_No. then i need to update the record based on that condition. now i am getting the hidden data. but only first record is...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.