, May 01, 2012 8:20 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
The book also has examples and you will find full samples in the SCBCSAMP
data set.
http://publib.boulder.ibm.com/infocenter/zvm/v5r4/index.jsp?topic=/com.ibm.z
os.r9.cbcpx01
!
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
Behalf Of Bernd Oppolzer
Sent: Tuesday, May 01, 2012 6:09 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
Thank you!
Here is an excerpt of a C
Aha! Muchas gracias!
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of David Crayford
Sent: Wednesday, May 02, 2012 7:37 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
My link
On Mon, 30 Apr 2012 13:20:48 -0700, Charles Mills wrote:
At least too many OPEN's is better than too many DYNALLOC's *and* too many
OPEN's.
Ummm. No. A few years ago, I had an APAR created because
the z/OS UNIX (USS) command e.g.:
$ cp -P'SPACE=(5000,5000)' homelog //temp.test.space3
On Mon, 30 Apr 2012 23:43:24 +0200, Bernd Oppolzer wrote:
Don't know what it's worth, but I'm quite sure that you can read a directory
of a PDS simply by issuing fopen on it as a binary file - like this
directory = fopen (dd:pdsfile, rb);
that is, if you don't specify member names in
The point here is not what some particular routine oor utility may do
or permit. It is what can be done ab initio by an programmer who
wants to do it using the HLASM or some particular SLPL .
z/OS MVS does permit one to open a PDS as a PS data set in a routine
written in assembly language or
Thank you!
Here is an excerpt of a C program which reads a directory of a PDS
and inserts the member names into an AVL tree (the insert is not shown,
it is done by a function call - see below).
Kind regards
Bernd
static int lese_memberliste (char *parm_infile,
Thanks!
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Bernd Oppolzer
Sent: Tuesday, May 01, 2012 6:09 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
Thank you!
Here
Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Bernd Oppolzer
Sent: Tuesday, May 01, 2012 6:09 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
Thank you!
Here is an excerpt of a C program which reads a directory of a PDS and
inserts
Does anyone *know* whether a C/C++ Language Environment fopen() of a
filename of the form DD:ddname(member) use an OPEN of ddname followed by a
BLDL or FIND for member (the way any reasonable programmer would) or does it
do a whole new DYNALLOC for dsname(member)? (Seems like a dumb question, but
Charles,
I'm nearly certain that it doesn't do a SVC99 when you are using fopen with
a DDNAME
But it does seem to do a OPEN/BLDL/POINTSTOW/CLOSEfor each fopen()
/ fclose() using //DD:MYDD(MEM)
IMO, there are a couple of important missing things:
1) There isn't a way to update (or get)
@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
Charles,
I'm nearly certain that it doesn't do a SVC99 when you are using fopen with
a DDNAME
But it does seem to do a OPEN/BLDL/POINTSTOW/CLOSEfor each fopen()
/ fclose() using //DD:MYDD(MEM)
IMO
-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Kirk Wolf
Sent: Monday, April 30, 2012 11:11 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Does C/LE open of DD:ddname(member) use SVC 99 or FIND?
Charles,
I'm nearly certain that it doesn't do a SVC99 when you are using
13 matches
Mail list logo