FCNTL.H

6 views
Skip to first unread message

Tony Thigpen

unread,
Nov 26, 2012, 4:29:50 PM11/26/12
to ASSEMBL...@listserv.uga.edu
Could someone send me a copy of FCNTL.H? (offlist!)

I need to compare some of the values to those used by our VSE IP product.

Thanks.

--
Tony Thigpen

Tony Thigpen

unread,
Nov 27, 2012, 6:31:20 AM11/27/12
to ASSEMBL...@listserv.uga.edu
I did receive a copy of fcntl.h, but it is missing one value that I
need, F_DUPFD2. Could someone tell me the value for F_DUPFD2?

Tony Thigpen

Miklos Szigetvari

unread,
Nov 27, 2012, 6:59:30 AM11/27/12
to ASSEMBL...@listserv.uga.edu
Hi

If you mean this:

#define F_SETFL 4
#define F_GETLK 5
#define F_SETLK 6
#define F_SETLKW 7
#define F_DUPFD2 8
#define F_CLOSFD 9
#define _F_GETFL 3

Tony Thigpen

unread,
Nov 27, 2012, 7:07:35 AM11/27/12
to ASSEMBL...@listserv.uga.edu
Yes. Thanks

Thomas David Rivers

unread,
Nov 27, 2012, 7:46:56 AM11/27/12
to ASSEMBL...@listserv.uga.edu
Hi Tony,

The values defined in <fcntl.h> are different in
different implementations.

Here's the ones from the BSD version (which probably
match Linux):

/* command values */
#define F_DUPFD 0 /* duplicate file descriptor */
#define F_GETFD 1 /* get file descriptor flags */
#define F_SETFD 2 /* set file descriptor flags */
#define F_GETFL 3 /* get file status flags */
#define F_SETFL 4 /* set file status flags */
#if __BSD_VISIBLE || __XSI_VISIBLE || __POSIX_VISIBLE >= 200112
#define F_GETOWN 5 /* get SIGIO/SIGURG proc/pgrp */
#define F_SETOWN 6 /* set SIGIO/SIGURG proc/pgrp */
#endif
#define F_OGETLK 7 /* get record locking information */
#define F_OSETLK 8 /* set record locking information */
#define F_OSETLKW 9 /* F_SETLK; wait if blocked */
#define F_DUP2FD 10 /* duplicate file descriptor to arg */
#define F_GETLK 11 /* get record locking information */
#define F_SETLK 12 /* set record locking information */
#define F_SETLKW 13 /* F_SETLK; wait if blocked */
#define F_SETLK_REMOTE 14 /* debugging support for remote locks */
#define F_READAHEAD 15 /* read ahead */
#define F_RDAHEAD 16 /* Darwin compatible read ahead */


and - here's the versions from IBM's z/OS implementation:

/*
* cmd values for fcntl()
*/
#define F_DUPFD 0
#define F_GETFD 1
#define F_SETFD 2
#ifdef __XPG4
#define F_GETFL 259
#else
#define F_GETFL 3
#endif
#define F_SETFL 4
#define F_GETLK 5
#define F_SETLK 6
#define F_SETLKW 7
#define F_DUPFD2 8
#define F_CLOSFD 9
#define _F_GETFL 3

#if (defined(__UU) || defined(_OE_SOCKETS))
#define F_GETOWN 10
#define F_SETOWN 11
#endif /* __UU || _OE_SOCKETS */

#ifdef __FX
#define F_SETTAG 12
#define F_CONTROL_CVT 13
#endif /* __FX */

/*
* l_type values for record locking with fcntl()
*/
#define F_RDLCK 1
#define F_WRLCK 2
#define F_UNLCK 3

Which numbers would be "right" to use???? I dunno...

In the Dignus implementation, we use the BSD numbers, and
map those to the IBM numbers under-the-covers when we invoke
the IBM interfaces...

- Dave Rivers -

--
riv...@dignus.com Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

Kirk Talman

unread,
Dec 6, 2012, 11:51:54 AM12/6/12
to ASSEMBL...@listserv.uga.edu
at this link
http://publib.boulder.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fcom.ibm.zos.r13%2Fzosr13home.html
i get displays that need 200% zoom to be readable. I don't see anywhere
on the page a setting to increase the zoom from the website's pov.

browser is IE8 - not changeable

the only html FONT tags are in STYLEs.

not having this problem w/any other websites

btw got link from google

any ideas?


-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you

McKown, John

unread,
Dec 6, 2012, 11:59:04 AM12/6/12
to ASSEMBL...@listserv.uga.edu
I despise InfoCenter. Try here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves for BookManager + PDF. I use either

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
john....@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM

> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-
> LI...@LISTSERV.UGA.EDU] On Behalf Of Kirk Talman
> Sent: Thursday, December 06, 2012 10:52 AM
> To: ASSEMBL...@LISTSERV.UGA.EDU
> Subject: the fine manuals
>
> at this link
> http://publib.boulder.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fc

Lizette Koehler

unread,
Dec 6, 2012, 12:00:33 PM12/6/12
to ASSEMBL...@listserv.uga.edu
If you are using IE go to TOOLS and select COMPATABILITY

Lizette

Sam Siegel

unread,
Dec 6, 2012, 12:29:53 PM12/6/12
to ASSEMBL...@listserv.uga.edu
Try pressing <CTRL>+ to enlarge and <CTRL>- to shrink

Kirk Talman

unread,
Dec 6, 2012, 1:19:24 PM12/6/12
to ASSEMBL...@listserv.uga.edu
thanks

I added this link to the IBM page in the internal knowledgebase (wiki)

IBM Mainframe Assembler List <ASSEMBL...@LISTSERV.UGA.EDU> wrote on
12/06/2012 11:59:04 AM:

> From: "McKown, John" <John....@healthmarkets.com>

> I despise InfoCenter. Try here: http://publibz.boulder.ibm.com/cgi-
> bin/bookmgr_OS390/Shelves for BookManager + PDF. I use either


Rob van der Heij

unread,
Dec 7, 2012, 6:04:18 AM12/7/12
to ASSEMBL...@listserv.uga.edu
On 6 December 2012 17:59, McKown, John <John....@healthmarkets.com> wrote:

> I despise InfoCenter. Try here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves for BookManager + PDF. I use either

Hear, hear! What I really hate about it is that you can't tell
whether a section is empty or that it is downloading the contents and
eventually will appear. It also suffers from the misconception that
there is useful content in each intermediate node of the tree. Too
often I find myself looking at some bogus paragraph and missing the
fact that there are sections underneath that have what I was looking
for.

I have a few old Bookmanager format books that I sometimes need. I
just tried the Java applet that IBM has to view books on your
workstation (aka Softcopy Reader). It's a 80 MB download but has the
look and feel of of BookManager Read on OS/2 many years ago. A
previous version was probably worse than InfoCenter, but v4 appears
reasonable (but if it could, I'd print the entire book into a PDF and
use that).

I still remember when I fell in love with Library Reader/DOS. It was a
huge boost in productivity to have all books handy (also at home) and
not having to borrow a copy from a senior colleage (and promise to
return it before sunset). Since it's Friday, I'm installing Win98 in
VirtualBox now to see whether it really was as good as I remember.
Somehow time affects how you remember things...

Rob


I still have a

Mike Shaw

unread,
Dec 7, 2012, 10:05:31 AM12/7/12
to ASSEMBL...@listserv.uga.edu
On Fri, Dec 7, 2012 at 6:04 AM, Rob van der Heij <rvd...@gmail.com> wrote:

> On 6 December 2012 17:59, McKown, John <John....@healthmarkets.com>
> wrote:
>
> > I despise InfoCenter. Try here:
> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves for
> BookManager + PDF. I use either
>
>
Gentlemen, we feel your pain!

As you know, our product relies heavily on extracting content from IBM z/OS
technical documentation, and we have always used BookManager format doc in
preference to other forms because of how easy it is to use. Now that
BookManager is going the way of the dodo, and Info Center is "the way of
the future", we can all suffer together...

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

Paul Gilmartin

unread,
Dec 7, 2012, 11:19:41 AM12/7/12
to ASSEMBL...@listserv.uga.edu
On Dec 7, 2012, at 08:05, Mike Shaw wrote:
>>
>>> I despise InfoCenter. Try here:
>> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves for
>> BookManager + PDF. I use either
>>
>>
> Gentlemen, we feel your pain!
>
> As you know, our product relies heavily on extracting content from IBM z/OS
> technical documentation, and we have always used BookManager format doc in
> preference to other forms because of how easy it is to use. Now that
> BookManager is going the way of the dodo, and Info Center is "the way of
> the future", we can all suffer together...
>
Gresham's Law?

-- gil

Tony Harminc

unread,
Dec 7, 2012, 2:52:09 PM12/7/12
to ASSEMBL...@listserv.uga.edu
On 7 December 2012 10:05, Mike Shaw <quic...@gmail.com> wrote:

> Gentlemen, we feel your pain!
>
> As you know, our product relies heavily on extracting content from IBM z/OS
> technical documentation, and we have always used BookManager format doc in
> preference to other forms because of how easy it is to use. Now that
> BookManager is going the way of the dodo, and Info Center is "the way of
> the future", we can all suffer together...

One wonders, though I'm not holding my breath, if IBM might open
source the Bookie data format... Maybe someone else could do a better
job of keeping it going.

Tony H.

McKown, John

unread,
Dec 7, 2012, 2:59:10 PM12/7/12
to ASSEMBL...@listserv.uga.edu
I'd rather get the "raw" book in whatever format it is. Of course, this might lead to people making their own changes. Which might be what IBM is wanting to avoid. The documentation equivalent of OCO.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
john....@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM


> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-
Reply all
Reply to author
Forward
0 new messages