Re: LOCASCB STOKEN=

2019-08-17 Thread Peter Relson
The OP's question was why the parameter was an address of a word containing another address, rather than just taking that other address directly as a parameter. Actually, it was why the parameter was an address of the STOKEN rather than the parameter being the STOKEN in a register. Jim

Re: TGIF

2019-08-17 Thread Peter Relson
Anyone ever notice that macro DCBD produces a DSECT named IHADCB, and that macro IHADCBE produces a DSECT named DCBE? Go figure. Did you "figure" that you might be doing something wrong that led you to think that that is strange? You should probably be using IHADCB which internally invokes

Re: Local time in C on z/OS

2019-08-17 Thread Jon Perryman
If time were as simple to solve as UTC and a 1 byte UTC offset, then this problem would have been solved a long time ago. As I said before, everyone assumes the time zone is fixed. What happens when the time zone is at the time the data is reference instead of created. As for localtime better

Re: Local time in C on z/OS

2019-08-17 Thread Paul Gilmartin
On Sat, 17 Aug 2019 23:43:34 +, Jon Perryman wrote: > If time were as simple to solve as UTC and a 1 byte UTC offset, then this > problem would have been solved a long time ago. As I said before, everyone > assumes the time zone is fixed. What happens when the time zone is at the > time