Re: Set change bit after DFdss restore

2019-10-31 Thread Vernooij, Kees (ITOP NM) - KLM
Yes I did. And no, it only provides what the parameters do: to RESET of not to RESET the changebit. No SETting it. Kees. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Roger Lowe Sent: 30 October 2019 19:57 To: IBM-MAIN@LISTSERV.UA.

Re: Set change bit after DFdss restore

2019-10-31 Thread Richards, Robert B.
Kees, Do you have DFSMShsm? If so, specify: INCREMENTALBACKUP(ORIGINAL) INCREMENTALBACKUP(ORIGINAL) specifies that DFSMShsm creates an initial backup version (if one does not exist) for all non-VSAM and integrated catalog facility VSAM data sets on a primary volume when incremental backup ta

Re: multi-line STDPARM shell script for BPXBATCH

2019-10-31 Thread David Crayford
That's quite nifty. Does it support local spawn and using DD names in the script? On 2019-10-30 7:45 PM, John McKown wrote: Here is my "solution". Actually, I got it from someone R Zenuk. It consists of a PROC, and a REXX program. === proc === //BPXJCL PROC USSCMD=, //**

Re: Set change bit after DFdss restore

2019-10-31 Thread Vernooij, Kees (ITOP NM) - KLM
No, I don't have hsm unfortunately, this option looks what I need. We have CA-DISK and I think it has a similar function, I will check that. This might be the golden tip. What ADRSSSU does at dump is not important, we want to transfer a specific set of data sets and they should all be selected.

Re: Set change bit after DFdss restore

2019-10-31 Thread Vernooij, Kees (ITOP NM) - KLM
Robert, CA-DISK has a similar function, but unfortunately both this one and the hsm one will not work in this situation. The dataset already exists in the target sysplex and therefor already has a backup. It will be overwritten with a new one by DFDSS with the changebit off. This scenario will

Re: Set change bit after DFdss restore

2019-10-31 Thread Richards, Robert B.
As a last resort, post process the restore list and create dataset backup commands from that. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Vernooij, Kees (ITOP NM) - KLM Sent: Thursday, October 31, 2019 6:25 AM To: IBM-MAIN@LISTSE

Re: Set change bit after DFdss restore

2019-10-31 Thread Vernooij, Kees (ITOP NM) - KLM
Yes, I already mentioned the ca-disk tool: set the changebit. Talking about ca-disk: it does have the option to SET the changebit at restore time. No one has apparently requested this for dfdss. And to answer the question: why don't I use ca-disk? Like HSM, it administers it archives/backups in

Re: Best way for a task to give up the CPU and let other tasks run?

2019-10-31 Thread Peter Relson
>I believe the OP mentioned he received complaints that his >task was hogging the CPU. I went back and looked. The OP said no such thing One of the posters (I thought the OP) mentioned that they were just trying to be a good guy, amidst a lengthy period of intensive CPU usage, of trying to y

How many programs does it take to copy a UNIX file?

2019-10-31 Thread Charles Mills
OCOPY - Copy an MVS data set member or z/OS UNIX file to another member or file OGET - Copy z/OS UNIX files into an MVS data set OGETX - Copy z/OS UNIX files from a directory to an MVS PDS or PDSE OPUT - Copy an MVS data set member into a z/OS UNIX file OPUTX - Copy members from an MVS PDS or PDSE

Re: How many programs does it take to copy a UNIX file?

2019-10-31 Thread Kirk Wolf
Don't forget /bin/cp Kirk Wolf Dovetailed Technologies PS> also the Co:Z "fromdsn" and "todsn" shell commands, which include options for code page conversion, line terminators, padding, truncating, wrapping, etc, etc. https://dovetail.com/docs/dspipes/dsp-ref_fromdsn.html https://dovetail.com/doc

How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Cameron Conacher
Hello folks, I Have done some googling, and I found something called GETITXUID. I think this might satisfy my needs. Has anyone used this? Or know of a more appropriate way to derive a UUID? Can I just code CALL GETITXUID()? I just want to be able to generate a UUID from inside a COBOL program r

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Charles Mills
It seems to be part of "Transformation Extender." Do you have that product? I see a SQL function GENERATE_UUID() but it looks like Db2 for z/OS does not implement. Does anyone know of a C or UNIX library function to do this? Charles -Original Message- From: IBM Mainframe Discussion Li

Re: How many programs does it take to copy a UNIX file?

2019-10-31 Thread Charles Mills
And if you are a masochist, IEBGENER with //SYSUTn DD PATH=. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Thursday, October 31, 2019 12:07 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How many programs does

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Charles Mills
Are you up for building a C++ program that you could call from COBOL? https://github.com/graeme-hill/crossguid/blob/master/src/guid.cpp (Around line 160 there is a bunch of code that is ASCII-specific and not commented as such. Easy to convert, but sloppy IMHO.) Charles -Original Message

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Bernd Oppolzer
The tricky bit here is: the UUID consists of a timestamp part and a machine specific part, and, with mainframes, this machine specific part must contain the CPU serial number and the LPAR number. Otherwise the UUIDs will not be unique accross different LPARs on the same machine. To build UUID

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Charles Mills
> the UUID consists of a timestamp part and a machine specific part, Not necessarily. There are several formats of UUID. https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Charles Mills
There is a PL/I function to do this. https://www.ibm.com/support/knowledgecenter/en/SSY2V3_5.1.0/com.ibm.ent.pl1.zos.doc/lr/lsh_uuid.html I am not familiar with how to call a PL/I BIF from COBOL (or call a PL/I program that in turn calls a BIF) but perhaps others on this forum are. Charles

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Matt Hogstrom
https://github.com/walmartlabs/zUID Courtesy of Walmart Matt Hogstrom +1 (919) 656-0564 > On Oct 31, 2019, at 18:51, Charles Mills wrote: > > There is a PL/I function to do this. > > https://www.ibm.com/support/knowledgecenter/en/SSY2V3_5.1.0/com.ibm.ent.pl1.zos.doc/lr/lsh_uuid.html > >

Re: WTO message at the end of JCL

2019-10-31 Thread Brian Westerman
In a MPF exit, you can set any message you are processing to any color (of the 8 available) and any highlight, reverse video, blinking mode you want (and which is supported by the terminal it's going to be displayed on), and you can additionally take actions on what the message said, and decide

Re: Set change bit after DFdss restore

2019-10-31 Thread Michael Stein
This might be old news and fixed (or documented?) but I remember that ADRDSSU dump of a full volume turned off the DSCB change bits *IN THE DUMP*. So you have a slightly bad/failing disk. You dump it to tape. IBM replaces the HDA. You restore the tape image to the new disk. Then you toss the