Charles

> What the heck is the "signature CSECT" ... I found no other references in the 
> docs to "signature CSECT."

I am treating this simply as an exercise in finding one's way around the - in 
this case - z/OS manuals.

I haven't the first clue what a "signature CSECT" is but finding it is 
nevertheless a challenge the pursuit of which may be of benefit to others.

Start, as always, at http://www-03.ibm.com/systems/z/os/zos/bkserv/

I am going to assume V1R13, so I select "V1.13" under "Publication titles, 
filenames, and order numbers by z/OS release".

http://www-03.ibm.com/systems/z/os/zos/bkserv/zshelves13.html#zbop

In the "Search text" field under "z/OS V1R13.0 Base Elements Optional Features  
- 448 books", I enter the name of the "mystery entity", in this case "Signature 
CSECT".

The first hit within the first manual listed looks as if it begins to provide 
the answer.

-

This might not always work very precisely if the individual search words create 
too many hits. One way to persuade the search process actually to work with the 
phrase and not just the individual words is to change the characters "FUZZY" to 
"EXACTW" and press enter in order to search again. In the case of "signature 
CSECT", I didn't notice a major difference.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/EZ2ZO213?searchRequest=signature+CSECT&SEARCH=Search+text&Type=FUZZY&SearchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK

to

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/EZ2ZO213?searchRequest=signature+CSECT&SEARCH=Search+text&Type=EXACTW&SearchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK

How did I know how to do this? Nous! Pay attention to the URLs generated when 
using the "Search term" from within a manual as modified by the "Type of 
search".

Chris Mason

On Mon, 20 Feb 2012 15:01:09 -0800, Charles Mills <[email protected]> wrote:

>I am reading the FM and I am lost in a sea of environment variables and
>POSIX and gosh knows what.
>
>If I would like the strftime() format character %z to return -0500 or +0000
>or whatever, what do I have to do?
>
>I know the system "knows" what time zone it is in, because for a given
>timeb, localtime() and gmtime() return the proper times.
>
>But the %z flag in strftime() returns no characters.
>
>The trouble starts in localtime() because it sets tm_isdst to -1. But even
>if I set tm_isdst to 0 "manually" strftime %z still returns nothing.
>
>As a side note, the PG says "The time zone external variables, tzname,
>timezone, and daylight, declarations remain feature test protected in
>time.h. Definition of these external variables are only known to the C/C++
>run-time library if the z/OS UNIX System Services C/C++ signature CSECT is
>link edited with your C/C++ application."
>
>What the heck is the "signature CSECT" and how the heck do you link it with
>your application? I found no other references in the docs to "signature
>CSECT."
>
>Thanks,
>Charles

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to