Re: Address space puzzle

2014-06-27 Thread Shane Ginnane
I go off the air for a week to drive a few hours and goof off at the beach in the dead of winter, and (almost) all the heavy hitters come out to play in this thread. After all the to-and-fro, Peter Relson opines: It's detailed, but not overly complex. Damn I love this list sometimes - diamonds

VSAM File issue in read

2014-06-27 Thread Ron Thomas
Hello We have a KSDS VSAM File which is of record length in production as 200 bytes and we modified the VSAM file to 250 record length . We then copied old records to the new records. There is a online screen which updates the file and once that happen the file is updated with low values

Re: VSAM File issue in read

2014-06-27 Thread Lizette Koehler
I think some more details would be helpful 1) What is the error you are getting? Supply all error messages and codes 2) What version of z/OS? 3) What is reading the file? CICS, IMS, COBOL? Please provide release levels Show any file definitions, for example if COBOL provide the

AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Beate Kawelke
What abend do you encounter get? Your assembler module might get into trouble because the read-in area, where the record is moved to, might be too small. This can lead to an overlay of the data behind this area (the extraneous 50 bytes) or, if you cross a page boundary, to an abend (S0C4 most

Re: VSAM File issue in read

2014-06-27 Thread Elardus Engelbrecht
Ron Thomas wrote: We have a KSDS VSAM File which is of record length in production as 200 bytes and we modified the VSAM file to 250 record length . We then copied old records to the new records. What is the VSAM Dataset structure? Is it indexed? With what utility/program did you used to do

Re: Address space puzzle

2014-06-27 Thread Rob Scott
Phil First of all, the following PC-ss code : L R5,ASCBASXBascb extension USING ASXB,R5 MVC SRQEACEE,ASXBSENV addr of ACEE in secondary space Will *NOT* work as you expect if AR5 is not primed with the correct ALET for the SASN (regardless of the fact

Re: Address space puzzle

2014-06-27 Thread Rob Scott
...can lead to confusion as eye-catcher validation can be correct with you looking at the correct one Should be ...can lead to confusion as eye-catcher validation can be correct with you looking at the incorrect one Rob Scott Lead Developer Rocket Software 77 Fourth Avenue . Suite 100 .

Re: setprog command RACF issue

2014-06-27 Thread Mainframe Mainframe
I think the problem was because my JES2PARM member was not setup perfectly as my production systems are. But I have modified the changes now and will test it . Thanks for all help . On Fri, Jun 27, 2014 at 4:50 AM, Ed Finnell 000248cce9f3-dmarc-requ...@listserv.ua.edu wrote: NASA had a

Re: SYSPLEX STRUCTURE issue

2014-06-27 Thread Mainframe Mainframe
I have formatted new couple dataset and used SETXCF command to make it in production . But as we don't have new hardware, we can not use this feature. Thanks for all help. On Wed, Jun 25, 2014 at 11:36 PM, Skip Robinson jo.skip.robin...@sce.com wrote: We have one basic sysplex, i.e. no CF,

Re: VSAM File issue in read

2014-06-27 Thread John McKown
Bottom line: No. When you read a record from _any_ data set, VSAM or not, you get an entire _record_. There is no way in VSAM or other access methods to say: Get the record, but only return the first 200 bytes to my program. Note: The above assertion is only for z/OS legacy data sets. It does not

PDSE member profile

2014-06-27 Thread Buckton, T. (Theo)
Hi There, Which process determines the profile of a member in a PDSE (Library) data set. When one browses the PDSE, views the member and enter PROFILE on the command line of the member, it brings up some attributes. How are these attributes determined: Eg. DECKS (FIXED - 80)RECOVERY

Re: PDSE member profile

2014-06-27 Thread Steve Comstock
On 6/27/2014 5:44 AM, Buckton, T. (Theo) wrote: Hi There, Which process determines the profile of a member in a PDSE (Library) data set. Better question: What determines the profile ...; there is no 'process'. There are some default profiles provided with the system. Generally, the low level

Re: PDSE member profile

2014-06-27 Thread Elardus Engelbrecht
Buckton, T. (Theo) wrote: Which process determines the profile of a member in a PDSE (Library) data set. When one browses the PDSE, views the member and enter PROFILE on the command line of the member, it brings up some attributes. How are these attributes determined: These attributes came

Re: VSAM File issue in read

2014-06-27 Thread Joel C. Ewing
KSDS = Keyed Sequential Data Set, so it is obviously keyed (= INDEXED) VSAM KSDS data sets are always variable length by definition. Setting average record length = maximum record length indicates an intent to write same length records and that information is used for space calculations, but

Re: PDSE member profile

2014-06-27 Thread Nims,Alva John (Al)
I am going to add my $0.02 to the other responses already posted. 1. When it is stated Lowlevel qualifier that is the last part of the data set name, in this case, DECKS. So any data set that ends in DECKS, e.g.; WALA.WALA.DING.DONG.DECKS, ONE.TWO.THREE.DECKS, or

Re: VSAM File issue in read

2014-06-27 Thread Elardus Engelbrecht
Joel C. Ewing wrote: VSAM KSDS data sets are always variable length by definition. Setting average record length = maximum record length indicates an intent to write same length records and that information is used for space calculations, but each record still has its own length value, is

Re: PDSE member profile

2014-06-27 Thread Paul Gilmartin
On Fri, 27 Jun 2014 07:11:19 -0500, Elardus Engelbrecht wrote: Note some attributes may be overridden/locked by your ISPF configuration table. For example, I have overridden site wide these attributes: RECOVERY (make it ON) and STATS (FORCE it ON). NFS and FTP follow ISPF conventions for

Re: PDSE member profile

2014-06-27 Thread Elardus Engelbrecht
Paul Gilmartin wrote: NFS and FTP follow ISPF conventions for member ENQ, and NFS at least (I haven't tested FTP) provides member statistics. Do they likewise respect the DSN profile setting of STATS? Excellent questions! I have now tested FTP by uploading a text file to a PDS member which

Re: PDSE member profile

2014-06-27 Thread Vernooij, CP (SPLXM) - KLM
I doubt it, the profiles are an internal ISPF thing and their definitions saved in the user's personal profile dataset. Which/whose settings should FTP use? Kees. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Elardus Engelbrecht

Re: PDSE member profile

2014-06-27 Thread Paul Gilmartin
On Fri, 27 Jun 2014 08:13:39 -0500, Elardus Engelbrecht wrote: NFS and FTP follow ISPF conventions for member ENQ, and NFS at least (I haven't tested FTP) provides member statistics. Do they likewise respect the DSN profile setting of STATS? Excellent questions! I have now tested FTP by

Re: PDSE member profile

2014-06-27 Thread Joel C. Ewing
On 06/27/2014 07:11 AM, Elardus Engelbrecht wrote: Buckton, T. (Theo) wrote: Which process determines the profile of a member in a PDSE (Library) data set. When one browses the PDSE, views the member and enter PROFILE on the command line of the member, it brings up some attributes. How are

Re: PDSE member profile

2014-06-27 Thread Paul Gilmartin
On 2014-06-27, at 07:21, Vernooij, CP (SPLXM) - KLM wrote: I doubt it, the profiles are an internal ISPF thing and their definitions saved in the user's personal profile dataset. Which/whose settings should FTP use? Are you saying that if multiple users have write access to a PDS for

Re: PDSE member profile

2014-06-27 Thread Elardus Engelbrecht
Vernooij, CP wrote: I doubt it, the profiles are an internal ISPF thing and their definitions saved in the user's personal profile dataset. Which/whose settings should FTP use? Yes, you are right. I'm not sure what settings FTP is using, but at least when a member is updated the stats are

Re: PDSE member profile

2014-06-27 Thread Vernooij, CP (SPLXM) - KLM
Yes!. In our group, we all have activated an 'initial macro' that sets for certain datasets some of the attributes we require, like STATS, AUTOSAVE OFF PROMPT (to avoid PF3's unintentionally saving modifications). About what you call IBM chaos: if you look at the history of these features, it

Re: IEFUJI problem, preventing TSO logon

2014-06-27 Thread Peter Relson
SETPROG EXIT,DELETE,EXITNAME=IEFUJI,MODNAME=IEFUJI As has been pointed out, the exit name is not IEFUJI. It might be SYS.IEFUJI, it might be SYSSTC.IEFUJI, it might be SYSTSO.IEFUJI (or others). This is all documented and depends on how you defined IEFUJI with your SMFPRMxx definition. Peter

Re: IEFUJI problem, preventing TSO logon

2014-06-27 Thread Richard Pinion
You could call me Ray, or you could call me Ray Jay, or you could call me Ray Jay Johnson. But you doesn't has to call me Johnson. --- rel...@us.ibm.com wrote: From: Peter Relson rel...@us.ibm.com To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IEFUJI problem, preventing TSO

Re: VSAM File issue in read

2014-06-27 Thread Joel C. Ewing
On 06/27/2014 07:53 AM, Elardus Engelbrecht wrote: Joel C. Ewing wrote: VSAM KSDS data sets are always variable length by definition. Setting average record length = maximum record length indicates an intent to write same length records and that information is used for space

Re: Address space puzzle

2014-06-27 Thread Peter Relson
So my supposition/belief is that ESAR followed by using that ASID should get me back to the correct address space. It has been stated correctly in many of the appends that this supposition/belief is wrong because it is not necessarily the case (and apparently is not the case) that home =

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread John McKown
No. If the PC routine does not require APF authorization, then the IKJTSOnn AUTH... entry isn't relevant. As an example, the STORAGE macro does a PC to do its magic, not an SVC. But a program which uses the STORAGE macro doesn't need to be in the list(s) mentioned. Only programs which are linked

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Micheal Butz
Thanks let me get to the point The program that creates the PC rtn Is the AUTHCMD/PGM so I cann't use IKJEFTSR However I am thinking the PC rtn might be able to Thanks Sent from my iPhone On Jun 27, 2014, at 10:30 AM, John McKown john.archie.mck...@gmail.com wrote: No. If the PC

MFM Users -- Pointers in Use

2014-06-27 Thread Steve Thompson
If you use MFM and you are having it influence your tuning LLA/VLF, I'd like to discuss some items off list. Since I am in digest mode for IBM-Main, you can contact me via this email address: S thompson 17 at humana dot com (humans should know to remove spaces, etc) Regards, Steve Thompson

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Rob Scott
Are you trying to say that you have a TSO command processor that is attempting to define and own a PC routine using LXRES, ETDEF, ETCRE and ETCON ??? Rob Scott Lead Developer Rocket Software 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA Tel: +1.781.684.2305 Email: rsc...@rs.com

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread MichealButz
Rob,, I can't use the TSO service facility IKJEFTSR ( I would like issue certain non-authorized TSO commands) because my program is in IKJEFTSOxx AUTHPGM/CMD I know that PC rtn's are separate entities so I am looking for the PC rtn to use IKJEFTSR -Original Message- From: IBM

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Rob Scott
If you have a PC-owning service-providing server address space, then you could probably dispense with AUTHPGM/CMD/TSF entries completely and keep your client code in normal problem state key 8. Your non-auth client can ask the server address space to perform any authorized functions on its

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread MichealButz
Why cant I issue simple TSO command via IKJEFTSR because my code is authorized I don't understand the idea behind it I would like to keep everything local to my TSO address space I am not trying to do anything kooky I have a recovery rtn and MVS message interfere with it so I am just trying to do

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Rob Scott
It is well documented in the TSO manuals that IKEFTSR will not allow authorized programs to issue unauthorized commands. All authorized command/program activity in TSO runs under a parallel authorized TMP jobstep - running commands and programs that were not designed (or tested) to be invoked

Re: VSAM File issue in read

2014-06-27 Thread CM Poncelet
VSAM reads/updates records in CONTROLINTERVALs (CIs) but I/O's whole CIs, not just the records. If the records are fixed length, the CIs will contain two 3-byte RDFs (Record Definition Fields) followed by a 4-byte CIDF (CI Definition Field). If they are variable length, the CIs will contain an

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread MichealButz
Rob With all due to respect and I mean that sincerely I have number of TSO commands that would make life easier it boggles my mind that because I am authorized I can't use them -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Rob Scott

Re: PDSE member profile

2014-06-27 Thread Jon Perryman
Kees is correct. FTP doesn't support ISPF profiles. It was specifically modified to handle user data area for the member in the PDS directory. ISPF editor is just an editor. Why the OUCH when every other editor (including UNIX) allows you to change the edit settings? If you want a dev

Re: PDSE member profile

2014-06-27 Thread Skip Robinson
I hate to give a sloppy response, but 'at one time' an installation could create a default ISPF profile called in whenever a user edited a data set that did not already have a matching LLQ in the personal profile. This default profile would be stored somewhere in the ISPTLIB concatenation with

Re: Address space puzzle

2014-06-27 Thread Phil Smith
Rob Scott wrote, in part: As far as I can tell, there is no mention of any method for your server to be notified if an address space has terminated whilst a request for it is still in your queue. Yes, we do handle that, and I think we'd be OK in this case, if I got the addressing right.

Re: PDSE member profile

2014-06-27 Thread Paul Gilmartin
On Fri, 27 Jun 2014 13:51:51 +, Vernooij, CP (SPLXM) - KLM wrote: Yes!. In our group, we all have activated an 'initial macro' that sets for certain datasets some of the attributes we require, like STATS, AUTOSAVE OFF PROMPT (to avoid PF3's unintentionally saving modifications). And I

Re: Address space puzzle

2014-06-27 Thread Rob Scott
Why not use FASTAUTH after building the ACEE? You could also contact IBM and see if they have any RACF trace tools to help find your bottleneck with AUTH. On 27 Jun 2014, at 17:48, Phil Smith p...@voltage.com wrote: Rob Scott wrote, in part: As far as I can tell, there is no mention of any

Re: Address space puzzle

2014-06-27 Thread Jim Mulder
Anyway. When the DB2 issue surfaced (new function), one of my first attempts was to do a REQUEST=AUTH: RACROUTE REQUEST=AUTH,APPL=APPLNM,CLASS=CLASSNML, X USERID=SRQEAUSR,X

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Rob Scott
Making life easier for programmers is not the operating system's prime directive. It has other things to worry about like being secure and staying up. :-) On 27 Jun 2014, at 17:18, MichealButz michealb...@comcast.net wrote: Rob With all due to respect and I mean that sincerely I have

Re: PDSE member profile

2014-06-27 Thread Ted MacNEIL
‎No. The recovery dataset is under the original user's prefix. - -teD -   Original Message   From: Paul Gilmartin Sent: Friday, June 27, 2014 09:37 To: IBM-MAIN@LISTSERV.UA.EDU Reply To: IBM Mainframe Discussion List Subject: Re: PDSE member profile On 2014-06-27, at 07:21, Vernooij, CP (SPLXM)

Local Time conversion to/from UTC Time

2014-06-27 Thread Hardee, Chuck
Does anyone have any algorithms or code for converting Local Time to UTC Time and vice versa taking Daylight Savings Time into account that they would be willing to share? My preference would be Assembler but COBOL, PL/I, Fortran, Pascal, etc would be acceptable. Note, implementations using

Re: Address space puzzle

2014-06-27 Thread Phil Smith
Rob Scott wrote: Why not use FASTAUTH after building the ACEE? Building -- via what mechanism? I can't just create one from whole cloth: RACF will allow that, TSS won't. I tried that. If I can create one in a relatively low-overhead way and then do an AUTH on that, that would win. All I care

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Walt Farrell
On Fri, 27 Jun 2014 15:55:17 +, Rob Scott rsc...@rocketsoftware.com wrote: As far as NOWTPMSG, it might be useful to investigate if it is *supported* to change the UPT settings manually - see UPTWTP and UPTNCOM in IKJUPT. They are documented as being part of the programming interface,

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Walt Farrell
On Fri, 27 Jun 2014 11:29:01 -0400, MichealButz michealb...@comcast.net wrote: Why cant I issue simple TSO command via IKJEFTSR because my code is authorized I don't understand the idea behind it I would like to keep everything local to my TSO address space I am not trying to do anything kooky I

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Walt Farrell
On Fri, 27 Jun 2014 11:01:36 -0400, MichealButz michealb...@comcast.net wrote: Rob,, I can't use the TSO service facility IKJEFTSR ( I would like issue certain non-authorized TSO commands) because my program is in IKJEFTSOxx AUTHPGM/CMD I know that PC rtn's are separate entities so I am

Re: Address space puzzle

2014-06-27 Thread Rob Scott
Under RACF I would use RACROUTE REQUEST=VERIFY,ENV=CREATE. I am not familiar with the differences with TSS. If the REQUEST=AUTH method is too slow then I would use the FASTAUTH check in the PC-ss with an ACEEALET of two as described earlier. On 27 Jun 2014, at 19:09, Phil Smith

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread John Gilmore
Do you need a point solution, i.e., one for a particular longitude and latitude? Or dxo you need a general one that is parametric in location? John Gilmore, Ashland, MA 01721 - USA -- For IBM-MAIN subscribe / signoff / archive

Re: Address space puzzle

2014-06-27 Thread Phil Smith
Rob Scott wrote: Under RACF I would use RACROUTE REQUEST=VERIFY,ENV=CREATE. Ah, ok, sure, makes sense. I'll try that and then FASTAUTH using that ACEE (and then ENVIR=DELETE), and CEE (sorry) how fast it is! If the REQUEST=AUTH method is too slow then I would use the FASTAUTH check in the

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Micheal Butz
I'm starting authorized APF AUTHPGM Authcmd and like to issue certain TSO CDMA via IKJEFTSR And am unable because I'm in the AUTHPGM section of IKJTSOxx Sent from my iPhone On Jun 27, 2014, at 2:07 PM, Tony Harminc t...@harminc.net wrote: On 27 June 2014 10:38, Micheal Butz

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Micheal Butz
Okay thanks It still doesn't make sense to me If inadvertently did something I am already authorized Sent from my iPhone On Jun 27, 2014, at 2:16 PM, Walt Farrell walt.farr...@gmail.com wrote: On Fri, 27 Jun 2014 11:01:36 -0400, MichealButz michealb...@comcast.net wrote: Rob,, I

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Chase, John
-Original Message- From: IBM Mainframe Discussion List On Behalf Of Micheal Butz Okay thanks It still doesn't make sense to me If inadvertently did something I am already authorized That's the point: You could do something you would never be explicitly authorized to do.

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Walt Farrell
On Fri, 27 Jun 2014 15:39:10 -0400, Micheal Butz michealb...@comcast.net wrote: Okay thanks It still doesn't make sense to me If inadvertently did something I am already authorized Yes, but you're trying to run code that is not yours, is not supposed to run authorized, and has not been

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread DanD
What am I missing WHY can't you use IKJEFTSR? Dan -Original Message- From: MichealButz Sent: Friday, June 27, 2014 11:01 AM Newsgroups: bit.listserv.ibm-main Subject: Re: IKJTSOxx Auth pgm cmds PC rtns Rob,, I can't use the TSO service facility IKJEFTSR ( I would like issue

Help with Public/Private Key Pairs

2014-06-27 Thread Ward, Mike S
Hello all, I am trying to learn more about crypto, so I am reading the manual on generating certificates and public/private key pairs. The manual says that if I specify ICSF in the RACDCERT GENCERT command the key pair is generated using software and the resulting private key is stored in the

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread DanD
Never mind ;-) After a quick test I now see that IKJEFTSR gets return code x'14' reason code x'3C'... An authorized program or command requested that an unauthorized function be invoked. Dan -Original Message- From: DanD Sent: Friday, June 27, 2014 4:59 PM To: IBM Mainframe

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Micheal Butz
Because I aurhorized and in authcmd Sent from my iPhone On Jun 27, 2014, at 4:59 PM, DanD mvs-j...@sympatico.ca wrote: What am I missing WHY can't you use IKJEFTSR? Dan -Original Message- From: MichealButz Sent: Friday, June 27, 2014 11:01 AM Newsgroups:

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread Ed Jaffe
On 6/27/2014 8:55 AM, Rob Scott wrote: It is well documented in the TSO manuals that IKEFTSR will not allow authorized programs to issue unauthorized commands. And this seems, at least in principle, roughly analogous to the abend306 that occurs when privileged code attempts to LOAD a module

Re: IKJTSOxx Auth pgm cmds PC rtns

2014-06-27 Thread DanD
Micheal, What are you trying to do? Maybe there's a better way to design your command. Dan -Original Message- From: Micheal Butz Sent: Friday, June 27, 2014 5:46 PM Newsgroups: bit.listserv.ibm-main Subject: Re: IKJTSOxx Auth pgm cmds PC rtns Because I aurhorized and in authcmd

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Hardee, Chuck
John, I am in the process of writing a program that is reading several files. Some of the files have dates in local and some have dates in UTC. I want to be able to move between the two time bases as needed. I don't envision the program reading files from differing time zones at the same time,

Re: PDSE member profile

2014-06-27 Thread Don Imbriale
Your recollection is correct. Specifically, the profile is named ZDEFAULT. On Fri, Jun 27, 2014 at 12:45 PM, Skip Robinson jo.skip.robin...@sce.com wrote: I hate to give a sloppy response, but 'at one time' an installation could create a default ISPF profile called in whenever a user edited

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Skip Robinson
DST complicates your solution even further. While the whole of the U.S. switches (or not!!!) at the same moment, other countries switch on different dates. I think your solution will have to be table driven with an entry for every country and for every U.S. state. . . J.O.Skip Robinson

Re: PDSE member profile

2014-06-27 Thread Skip Robinson
Ah yes, ZDEFAULT. The 'setup process' I referred to is the ISPF Configuration Utility, which allows the installation to control all sorts of options. That dialog is a more recent mechanism than ZDEFAULT, and much more powerful. . . J.O.Skip Robinson Southern California Edison Company Electric

Re: Help with Public/Private Key Pairs

2014-06-27 Thread Walt Farrell
On Fri, 27 Jun 2014 21:29:30 +, Ward, Mike S mw...@ssfcu.org wrote: Hello all, I am trying to learn more about crypto, so I am reading the manual on generating certificates and public/private key pairs. The manual says that if I specify ICSF in the RACDCERT GENCERT command the key pair is

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Sri h Kolusu
Chuck, You can use the language environment callable service CEEGMTO which would give you the difference between the local system time and Greenwich Mean Time (GMT). Eastern Standard Time (EST) = GMT-5 Pacific Standard Time (PST) = GMT-8 Central Standard Time (CST) = GMT-6 Mountain Standard

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Mark Post
On 6/27/2014 at 06:37 PM, Skip Robinson jo.skip.robin...@sce.com wrote: I think your solution will have to be table driven with an entry for every country and for every U.S. state. Such a table already exists. http://www.iana.org/time-zones Mark Post

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Hardee, Chuck
I already have a mechanism to determine the UTC offset of my local time. Further, I'm not against calling CEE modules, but at the moment there are no CEE modules used by my program and I don't want to start now unless I absolutely, no other way to do it, have to. Furthermore, my program doesn't

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Hardee, Chuck
Yes, if I didn't have to take DST into account I'd already be home free. Charles (Chuck) Hardee Senior Systems Engineer/Database Administration CCG Information Technology Thermo Fisher Scientific 300 Industry Drive Pittsburgh, PA 15275 Direct: 724-517-2633 FAX: 412-490-9230

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Paul Gilmartin
On Fri, 27 Jun 2014 15:21:54 -0400, John Gilmore wrote: Do you need a point solution, i.e., one for a particular longitude and latitude? Or dxo you need a general one that is parametric in location? And, likewise, does he need a solution for a particular time, or a general one that is

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread retired mainframer
If it were only that easy. Parts of Texas are in two different time zones. I believe at least one other state is split also. Some states in Australia implement DST while others don't. Russia spans multiple time zones while all of China is administered in one. :: -Original Message- ::

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread John McKown
On Fri, Jun 27, 2014 at 5:28 PM, Hardee, Chuck chuck.har...@thermofisher.com wrote: John, I am in the process of writing a program that is reading several files. Some of the files have dates in local and some have dates in UTC. I want to be able to move between the two time bases as needed.

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Ron Thomas
I needed to know is there any thing we can do for this file so that doesn't write anything beyond 150 bytes , so that the length of the record read will be = 150 Thanks Ron T -- For IBM-MAIN subscribe / signoff / archive

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Ron Thomas
We are getting abend while reading the record in the assembler code, the error is due to the length mismatch. Thanks Ron T -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Lizette Koehler
The answer from John McKown was Bottom line: No. When you read a record from _any_ data set, VSAM or not, you get an entire _record_. There is no way in VSAM or other access methods to say: Get the record, but only return the first 200 bytes to my program. Joel C. Ewing wrote: VSAM KSDS data

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Lizette Koehler
Ron, You may need to step through the code with a testing facility and see why the code is not doing what you need. I think there are several products that could help you debug this issue. But VSAM just does what it does. If you need to have the READ/WRITE process differently then you will

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Rob Schramm
I will only tell you that you should think of the next guy that is going to have to maintain this code. Do him or her and yourself a favor, use the system provided services before writing code that may or may not be correct in the future. I just went thru a similar exercise... Which was

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Lizette Koehler
Just one more thought. The reason it is very helpful to show this information is: If the code that is executing is only checking for some but not ALL of the status codes from VSAM - the Length Mismatch may be incorrect. How is that so? Take the following example In COBOL I code the IO

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Mike Schwab
Indiana you have to go by county. Several counties have unique DST time zone history. On Fri, Jun 27, 2014 at 6:46 PM, retired mainframer retired-mainfra...@q.com wrote: If it were only that easy. Parts of Texas are in two different time zones. I believe at least one other state is split

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Joel C. Ewing
Those parts of the U.S. that honor DST (there are places that don't, e.g. parts of Arizona) do not all switch at the same moment. They all switch on the same date, but the switch is at 0200 local time and thus the moment of switch is staggered across the time zones. So, if DST is to be taken

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Joel C. Ewing
I recall in particular that in the 1970's West Lafayette, Indiana in Tippecanoe Co. kept a GMT offset of -0500 year round and transitioned at the dates of change between EST (on Indianapolis time) and CDT (on Chicago time), with no numeric change on the clocks. Joel C. Ewing On 06/27/2014

Re: Local Time conversion to/from UTC Time

2014-06-27 Thread Andrew Rowley
I don't know whether your language options extend to java, but if they do Joda Time appears to do exactly what you are looking for: http://www.joda.org/joda-time/ Even if you can't use Java, it is open source so it might provide code/algorithm ideas. On 28/06/2014 4:06, Hardee, Chuck wrote:

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread Joel C. Ewing
On 06/27/2014 08:58 PM, Ron Thomas wrote: I needed to know is there any thing we can do for this file so that doesn't write anything beyond 150 bytes , so that the length of the record read will be = 150 Thanks Ron T I don't under stand the problem here. If the goal is never to write a

Re: AW: [IBM-MAIN] VSAM File issue in read

2014-06-27 Thread CM Poncelet
What abend and what diagnostic feedback data are you getting? Is your AREA's AREALEN in your RPL large enough for the new RECSZ? Check your MSGAREA (length MSGLEN) to see your VSAM feedback (RC, reason) info. Code a SHOWCB (with FIELDS=FDBK and whatever else you want, and with MSGAREA= and