Charles Mills wrote:
I guess I AM losing my mind.
No, you are NOT losing your mind. I'm following your excellent thread, but I am
wondering about one thing:
If I had my druthers the C library would not be doing me this favor at all.
If I issue fopen(FOO.BAR, then try to open FOO.BAR, not some
Bernd Oppolzer wrote:
I'd like to sum it up for those who don't know C on z/OS:
to read a member of a partioned data set, you have at least the following
possibilities:
a) specify the full name (DSN + member) in apostrophes on the fopen
function call
b) without apostrophs, then the TSO
prepend userid on file names?
Charles Mills wrote:
I guess I AM losing my mind.
No, you are NOT losing your mind. I'm following your excellent thread, but I am
wondering about one thing:
If I had my druthers the C library would not be doing me this favor at all.
If I issue fopen(FOO.BAR, then try
On Fri, 14 Sep 2012 17:02:39 -0700, Charles Mills wrote:
No doubt this is wonderfully documented somewhere but I am sitting here
tearing my hair out.
I have a C++ *batch* program that I could not get to open a conventional
z/OS dataset by name to save my life until I finally figured out it was
Sorry, minor error:
infile = fopen ...
should have been
inpfile = fopen ...
Kind regards
Bernd
Am 15.09.2012 12:25, schrieb Bernd Oppolzer:
Maybe I'm too late to join in that topic, but:
char *inpfilename = dd:inpfile;/* opens file assigned via //INPFILE DD */
char *inpfilename2 =
: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Norbert Friemel
Sent: Saturday, September 15, 2012 2:45 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
On Fri, 14 Sep 2012 17:02:39 -0700, Charles Mills wrote:
No doubt
The results of the documented behavior might be somewhat surprising for
users of systems where the TSO user prefix is not the same as the RACF
userid.
--
Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
On
, September 15, 2012 2:45 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
On Fri, 14 Sep 2012 17:02:39 -0700, Charles Mills wrote:
No doubt this is wonderfully documented somewhere but I am sitting here
tearing my hair out.
I have a C++ *batch
I normally don't use anything but dd:myfile
and do all the other thing at JCL level.
But there is one other thing which I find pretty nice:
it's also possible to fopen a file using
dd:myfile(member)
and have the ddname myfile assigned to a PDS library,
this way opening, say
I'd like to sum it up for those who don't know C on z/OS:
to read a member of a partioned data set, you have at least the following
possibilities:
a) specify the full name (DSN + member) in apostrophes on the fopen
function call
b) without apostrophs, then the TSO prefix or RACF id is added
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Gord Tomlin
Sent: Saturday, September 15, 2012 6:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
The results of the documented behavior might be somewhat surprising for
users of systems where the TSO user prefix
@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
Well, that's certainly pretty clear and explicit. Thanks. But unless I am
losing my mind, that is not the behavior I am used to seeing.
It would also be nice if they put this all in one place. I have read Chapter 5,
Opening
@LISTSERV.UA.EDU] On
Behalf Of Gord Tomlin
Sent: Saturday, September 15, 2012 6:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
The results of the documented behavior might be somewhat surprising for
users of systems where the TSO user prefix
On Sat, 15 Sep 2012 09:17:31 -0700, Charles Mills wrote:
I guess I AM losing my mind.
Did you sew a name tag on it?
I know nothing is more pointless than how I would re-design MVS discussions
but you know what would have made this whole set of problems more intuitive?
If when they originally
that a CA technical rep hangs out here.
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Paul Gilmartin
Sent: Saturday, September 15, 2012 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid
On Sat, 15 Sep 2012 10:11:06 -0700, Charles Mills wrote:
I think that's a little more intuitive, frankly.
FOO:BAR means FOO:BAR
:FOO:BAR means something:FOO:BAR
The leading punctuation says something goes here.
Yup.
A single node is always relative, despite the above convention? That's doing
No doubt this is wonderfully documented somewhere but I am sitting here
tearing my hair out.
I have a C++ *batch* program that I could not get to open a conventional
z/OS dataset by name to save my life until I finally figured out it was
prepending my userid onto the specified name a la TSO.
If
TSO it's prefix
Scott ford
www.identityforge.com
On Sep 14, 2012, at 8:02 PM, Charles Mills charl...@mcn.org wrote:
No doubt this is wonderfully documented somewhere but I am sitting here
tearing my hair out.
I have a C++ *batch* program that I could not get to open a conventional
z/OS
Say what?
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Scott Ford
Sent: Friday, September 14, 2012 5:29 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
TSO it's prefix
Scott
PROFile NOPRE
HELP PROFile
In a message dated 9/14/2012 7:30:09 P.M. Central Daylight Time,
scott_j_f...@yahoo.com writes:
TSO it's prefix
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to
On Fri, 14 Sep 2012 22:04:02 -0400, Ed Finnell wrote:
PROFile NOPRE
HELP PROFile
In a message dated 9/14/2012 7:30:09 P.M. Central Daylight Time,
scott_j_f...@yahoo.com writes:
TSO it's prefix
Does this apply even outside TSO? Does LE read the TSO profile
data set to make the decision? I
On Fri, Sep 14, 2012 at 5:02 PM, Charles Mills charl...@mcn.org wrote:
No doubt this is wonderfully documented somewhere but I am sitting here
tearing my hair out.
I have a C++ *batch* program that I could not get to open a conventional
z/OS dataset by name to save my life until I finally
As I said in the OP, ***BATCH***. //STEP1 EXEC PGM=
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Ed Finnell
Sent: Friday, September 14, 2012 7:04 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid
Siegel
Sent: Friday, September 14, 2012 9:49 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
On Fri, Sep 14, 2012 at 5:02 PM, Charles Mills charl...@mcn.org wrote:
No doubt this is wonderfully documented somewhere but I am sitting
here tearing my hair out
that.
Charles
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Sam Siegel
Sent: Friday, September 14, 2012 9:49 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C and LE -- when prepend userid on file names?
On Fri, Sep 14, 2012
25 matches
Mail list logo