Re: Mainframes testing

2019-08-15 Thread Steve Smith
First, Timothy Sipples is certainly one of the top authorities on this board, and I take his opinion very seriously. But both Lennie Dymoke-Bradshaw's reply, and Brian Chapman's seem to me closer to the facts. The paper is not only has half-truths and is misleading, but is utterly banal. I

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Rick J. Valles
Esmie, I misunderstood your need for a listing of data sets in a catalog, but not on disk. This DFDSS job lists data sets found in a VTOC, but not catalogued. r On August 15, 2019 at 6:01 AM, esmie moo <012780d99c7b-dmarc-requ...@listserv.ua.edu> wrote: Ricks, Thanks for the

Re: Local time in C on z/OS

2019-08-15 Thread Jon Perryman
The op wants the machine local time as seen in the system log instead of all the exceptions that are allowed in the C standard. If the op doesn't get an acceptable solution, then call the assembler macro's directly from C.. It's a simple call to time or whatever macro you need. As mentioned

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Kirk Wolf
I should point out that this doesn't deal with the issue of unmounted volumes :-) Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 15, 2019 at 9:38 AM Kirk Wolf wrote: > As an opportunity to show that REXX isn't the only way to script something > on z/OS, here is an example

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread esmie moo
John, Yes.  I am trying to find any dsns that exist in the catalog but don't exist on the disk.  I know that we have some ancient applications which refer to procs that have dsns which are cataloged but do not exist on the disk. On Wednesday, August 14, 2019, 12:35:39 a.m. GMT-4, John

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread esmie moo
Ricks, Thanks for the example.  I will try it out.  On Wednesday, August 14, 2019, 12:10:39 a.m. GMT-4, Rick J. Valles <026801af9474-dmarc-requ...@listserv.ua.edu> wrote: This is what we use (from my friend, John C. Miller @ jmit.com ): //S1      EXEC

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Kirk Wolf
As an opportunity to show that REXX isn't the only way to script something on z/OS, here is an example of using a z/OS Unix shell script in a batch job to do this. The COZBATCH utility is our alternative to BPXBATCH that simplifies batch shell scripts. "catsearch" is a little Unix shell command

Re: Local time in C on z/OS

2019-08-15 Thread Allan Staller
You can supply TZ via JCL parm, (LE) parm or OVMS shell variable or /etc/init or /etc/rc -Original Message- From: IBM Mainframe Discussion List On Behalf Of Phil Smith III Sent: Wednesday, August 14, 2019 5:10 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Local time in C on z/OS I have a C

Re: Mainframes testing

2019-08-15 Thread Brian Chapman
Timothy, While I don't disagree with you, I think that most people here feel that these topics are systemic issues with any platform. Storing unencrypted (or even encrypted) userids and passwords in datasets or files that are not highly restricted is a major liability. I feel that it is

Re: logstream read/copy utility

2019-08-15 Thread Don Poitras
In article <00c201d5536f$e7e1d530$b7a57f90$@gmail.com> you wrote: > Is there a generic utility anywhere to read a logstream and write it to a > data set or report? > > > Lionel B. Dyck < > Website: http://www.lbdsoftware.com IDCAMS? //DONLOGP JOB

System Logger - access to staging data?

2019-08-15 Thread Lionel B Dyck
Is there a utility that will copy/print the staging data for a logstream? thanks Lionel B. Dyck < Website: http://www.lbdsoftware.com "Worry more about your character than your reputation. Character is what you are, reputation merely what others think

logstream read/copy utility

2019-08-15 Thread Lionel B Dyck
Is there a generic utility anywhere to read a logstream and write it to a data set or report? Lionel B. Dyck < Website: http://www.lbdsoftware.com "Worry more about your character than your reputation. Character is what you are, reputation merely what others

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Pew, Curtis G
On Aug 15, 2019, at 7:00 AM, esmie moo <012780d99c7b-dmarc-requ...@listserv.ua.edu> wrote: > > Yes. I am trying to find any dsns that exist in the catalog but don't exist > on the disk. I know that we have some ancient applications which refer to > procs that have dsns which are

Re: logstream read/copy utility

2019-08-15 Thread Lionel B Dyck
Thank you - this is perfect. Lionel B. Dyck < Website: http://www.lbdsoftware.com "Worry more about your character than your reputation.  Character is what you are, reputation merely what others think you are." - John Wooden -Original Message- From: IBM Mainframe Discussion List On

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Lizette Koehler
I think this is still valid. But you would need to check with CA Broadcom to be certain If you have any CA products like, CA1, PDSMAN, DISK, ALLOCATE, and so forth Then you should be able to download and install GMI which could also be called Vantage Lite or SRM Lite It will do what you

Re: Local time in C on z/OS

2019-08-15 Thread Phil Smith III
Gil provided a promising-looking code snippet, which I tried. Alas, no change! (I did have to fix the %s to %S, so I'm 100% sure I picked up the change-I'm cross-compiling using Dignus, which always adds that bit of vagary: did you get the right object? Etc.). I don't think I missed

Re: Mainframes testing

2019-08-15 Thread Lennie Dymoke-Bradshaw
Timothy, I don't particularly want to get into any argument about this. I was asked for an opinion on the paper and replied with my immediate reactions. I see no reason to change those statements. As another ex-IBMer suggested to me, the paper appears to be a marketing paper and not aimed at

Re: Local time in C on z/OS

2019-08-15 Thread Charles Mills
IBM seems to have a unique ability to make complicated the inherently simple. "Alexa, what time is it?" "The time is ten twenty-eight AM." Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Phil Smith III Sent: Thursday,

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Mike Schwab
I interned in a catalog sales company in the marketing department in 1984. Used 1 digit year and purged sales data over 6 years old. On Thu, Aug 15, 2019 at 12:46 AM Support, DUNNIT SYSTEMS LTD. wrote: > > 2 digit years I recall a shop who throughout the 70's implemented 1 digit > year

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Seymour J Metz
> IBM 701 with 2048, later 4095 36 bit word ITYM 4096 The Williams Tube was one of those technologies that I was too young to know about, for which I am grateful. > two digit dates and Packed Decimal It's not that hard to used unsigned packed decimal for a three digit year in two bytes.

Re: Local time in C on z/OS

2019-08-15 Thread Phil Smith III
Jon Perryman wrote: >The op wants the machine local time as seen in the system log instead of >all the exceptions that are allowed in the C standard. If the op doesn't >get an acceptable solution, then call the assembler macro's directly >from C.. It's a simple call to time or whatever macro

Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Nightwatch RenBand
My first programming experience was in the mid to late 1960's and even then there were "old timers" who explained things like this in lurid detail; perhaps, as King Henry V said " with advantages what feats he did that day". As I remember they said that the problem was memory. They programmed on

Re: Local time in C on z/OS

2019-08-15 Thread Charles Mills
Are you POSIX ON or OFF? For POSIX OFF the variable is named _TZ . Try that. Check the return code from setenv(). Unlikely it is failing, but who knows? My notes indicate that the environment variable timezone_name *may* be needed. Charles -Original Message- From: IBM Mainframe

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Matthew Stitt
I worked at such company that had 1 digit years. The routine(s) to keep them straight across the decades I never did fully understand. OTOH, I also worked at a small Insurance company. The best (non) joke was when a client called regarding a new build discount she was getting on her house.

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Matthew Stitt
Program LISTICAT on the CBT tape, file 527 will give you the list of datasets in a catalog, but not in a VTOC. That's in the error listing. Matthew -- For IBM-MAIN subscribe / signoff / archive access instructions, send email

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Seymour J Metz
If you don't like binarythen there's unsigned packed decimal. The code to convert between packed decimal and unsigned packed decimal is not exactly rocket science. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Rick J. Valles
Thanks, Matthew. I just downloaded and received FILE527.XMI and will checkout LISTICAT and the other programs. Great Author!    :) r On August 15, 2019 at 10:50 AM, Matthew Stitt wrote: Program LISTICAT on the CBT tape, file 527 will give you the list of datasets in a catalog, but not

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Seymour J Metz
> foremoms and foredads Some of us were there at the time. I've lost track of the number of times that I've criticized something only to be accused, decades later, of only having "20-20 hindsight". W4 aren't allo newbies. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: Local time in C on z/OS

2019-08-15 Thread Joe Monk
Code is right here https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxbd00/localt.htm /* CELEBL07 This example queries the system clock and displays the local time. */ #include #include int main(void) { struct tm *newtime; time_t ltime;

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread John McKown
On Thu, Aug 15, 2019 at 9:58 AM Kirk Wolf wrote: > I should point out that this doesn't deal with the issue of unmounted > volumes :-) > Is that a 3330-11 I see in your pocket > > Kirk Wolf > Dovetailed Technologies > http://dovetail.com > > -- I find television very educational. The

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Seymour J Metz
Well, there's LIST . Seriously, there are actually cases where CLIST still makes sense. I just wish that they'd enhance REXX to have the same capability. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on

PROCs IEASDBS and IEABE

2019-08-15 Thread Alexander Riedel
Hi, in our SYS1.IBM.PROCLIB i found 2 new procedures IEASDBS that calls PGM IEAVESBS and procedure IEABE that calls PGM IEAVEBE. What are these IBM procedures doing? Thanks, Alexander -- For IBM-MAIN subscribe / signoff /

Re: Local time in C on z/OS

2019-08-15 Thread Paul Gilmartin
On Thu, 15 Aug 2019 14:07:42 -0400, Joe Monk wrote: >Code is right here > >https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxbd00/localt.htm > Which says: ... 1. This function is sensitive to time zone information ... -- gil

Re: Local time in C on z/OS

2019-08-15 Thread Charles Mills
And did not work for the OPoster, hence the OPost. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Thursday, August 15, 2019 11:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Local time in C on z/OS On

Re: Integrated 3270 Console in HMC 2.12 in web browser

2019-08-15 Thread Cieri, Anthony
Weather this is possible may depend upon the level of Java that you are using. I use FireFox to connect to the HMC for an older z10 machine. I also keep a Java Version 7 installed specifically for the Integrated 3270 Console function. I have colleagues here with similar PC

Re: Local time in C on z/OS

2019-08-15 Thread Charles Mills
> The Dignus runtime main() start-up from a BATCH or TSO start examines the CVTTZ value and constructs a TZ that offers the proper offset Good approach IMHO. I know I tried doing that and ran into some sort of issue. The fact is that the LE approach is poor. I don't say that because I am a

Re: Local time in C on z/OS

2019-08-15 Thread Paul Gilmartin
On Thu, 15 Aug 2019 16:56:32 -0400, Thomas David Rivers wrote: >... >The Dignus runtime main() start-up from a BATCH or TSO start examines the CVTTZ >value and constructs a TZ that offers the proper offset from UTC (again,this >assumes >the machine's clock is set to UTC and that CVTTZ is

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Jesse 1 Robinson
Ah yes. I have a calendar application that reminds me I'm really old. But my very first job in IT as an application programmer trainee was in 1978. So I'm kinda like the guy in that old up-down intermarriage puzzle who can be considered my own grandfather.  . . J.O.Skip Robinson Southern

Re: Reason for 2 digit years was Re: Instruction speeds

2019-08-15 Thread Paul Gilmartin
On Thu, 15 Aug 2019 00:46:00 -0500, Support, DUNNIT SYSTEMS LTD. wrote: >2 digit years I recall a shop who throughout the 70's implemented 1 digit >year dates across their files because of the precious cost and availability of >DASD space. In 1979, someone there took are hard look at what

Re: Local time in C on z/OS

2019-08-15 Thread Joe Monk
You left off the rest ... This function is sensitive to time zone information which is provided by: - The TZ environmental variable when POSIX(ON) and TZ is correctly defined, or by the _TZ environmental variable when POSIX(OFF) and _TZ is correctly defined. - The LC_TOD category of

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Dana Mitchell
What would be one of those cases? I can't really think of anyting, maybe its been so long since I've written a clist that I'm don't remember what I'm missing. If you want a trip into the early 80's, try writing an IBMi CL program ;) Dana On Thu, 15 Aug 2019 16:41:15 +, Seymour J Metz

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Seymour J Metz
DATA and DATA PROMPT come to mind, as does the parsing of keyword parameters. I've tried to avoid CLIST since TSO/E V2, but there really re things that it does better than REXX. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM

Re: Instruction speeds

2019-08-15 Thread Tony Harminc
On Wed, 14 Aug 2019 at 18:56, Charles Mills wrote: > This is really interesting. For those put off by the "C++" note that the > issue has nothing whatsoever to do with C++. It is a pure branch prediction > issue. Picture a program that computes an array of pseudo-random 8-bit > integers from 0

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Jesse 1 Robinson
One CLIST feature I miss in REXX is the ability to run in subcommand mode. With CLIST, you can execute for example TSO TEST and supply in-line subcommands that execute in sequence from within the CLIST. With REXX, you have to QUEUE the subcommands before issuing TEST, after which REXX is no

Re: LOCASCB STOKEN=

2019-08-15 Thread Jim Mulder
The LOCASCB service originated in MVS/ESA SP3.1.0, around 1987. An STOKEN is 64 bits, and we did not have 64-bit registers until 13 years later. Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. Poughkeepsie NY > I'm a bit puzzled. This service takes a pointer to an STOKEN,

Re: WEEDING OUT DSNS WITH CATALOG ENTRIES ONLY

2019-08-15 Thread Russell Witt
Lizette is absolutely correct with regard to CA 1. We have a utility (TMSOSCAT) that will give you a list of all MVS/Catalog tape entries for which there is no actual record in the TMC for. A great way to eliminate obsolete catalog entries. Russell Witt CA 1 Architect Broadcom -Original

LOCASCB STOKEN=

2019-08-15 Thread Tony Harminc
I'm a bit puzzled. This service takes a pointer to an STOKEN, and returns an ASCB address. Or a return code indicating that the STOKEN is invalid or obsolete. So if I am passed an STOKEN pointer by my caller, this seems like the right service to tell me if this is pointing to a valid and current