Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Paul Gilmartin
On Sun, 16 Sep 2018 22:33:19 -0500, Ze'ev Atlas wrote:

>Thank you Gil
>You have confirmed what I suspected since I've seen the code.  The developer 
>has introduced a non-standard code that is compatible only with GNU make.  I 
>have already complained about the issue as introduction of non-standard code 
>would definitely hamper any port to a non 'make' environment.
> 
We could discuss whether standards, like grammars, should be
regarded as prescriptive or descriptive.

>What I will probably do is, in my port scripts (I have a whole system to 
>automate the port, resolve dependencies, etc.), I will add some logic to 
>replace these values with known external values (from a config file), or spit 
>an error message when a new, yet unseed such value is introduced.  Basically, 
>mimic the 'make' action in that regard.
> 
That's what configure, not gmake, is supposed to do.
Did you run configure?  Configure tailors Makefile and
one or more header flles to work in a multitude of environments,
both standard and nonstandard.

The gmake construct that caused me the most problem is VPATH.
I simply used gmake which is available from Rocket Ported Tools,
I believe.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


IBM copy services Split and replicate option

2018-09-16 Thread Peter
Hi

Apology for the dummy query.

After TPCR, this is is the first I am looking at IBM Copy services .

Now we are in metro mirroring . Under IBM Copy services which option is
that on which performs the breaking of replication and re-establishes the
replication.

I am going through each options session , storage , paths , console but I
am not getting clue

Is there anyone who is using IBM Copy services and can guide me a bit ?

Peter

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Ze'ev Atlas
Thank you Gil
You have confirmed what I suspected since I've seen the code.  The developer 
has introduced a non-standard code that is compatible only with GNU make.  I 
have already complained about the issue as introduction of non-standard code 
would definitely hamper any port to a non 'make' environment.

What I will probably do is, in my port scripts (I have a whole system to 
automate the port, resolve dependencies, etc.), I will add some logic to 
replace these values with known external values (from a config file), or spit 
an error message when a new, yet unseed such value is introduced.  Basically, 
mimic the 'make' action in that regard.

ZA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM Z and cloud

2018-09-16 Thread scott Ford
Yes, we have the cloud before if was “popular”, it was called a Service
Bureau, which did your work and charged appropriately.
Now part of it is diy and your charged more.


Scott

On Sun, Sep 16, 2018 at 4:04 PM Seymour J Metz  wrote:

> cloud = timesharing
>
> Someone else deploys the infrastructure, to you it's a black box. Less
> control but also less manpower. Some legal issues.
>
> No, z/OS is not a cloud, but neither is AIX, *bsd, Linux, windows or
> Solaris; it's the deployment that makes it a cloud or not a cloud. You can
> have a cloud with z/OS just as much as you can have one with, e.g., Linux.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List  on behalf
> of Phil Smith III 
> Sent: Saturday, September 15, 2018 1:21 PM
> To: IBM-MAIN@listserv.ua.edu
> Subject: Re: IBM Z and cloud
>
> OK, so what do we mean by "cloud"? What *customers* seem to mean is "a
> compute platform where I can run my stuff but not have to deal with buying
> hardware and racking and cabling it and in general all the work of running
> a data center". By which definition, of course, traditional timesharing
> fits.
>
>
>
> For x86, this is currently AWS and Google Cloud Platform and Microsoft
> Azure (and not HPE Helion). For z, it's more like the IBM Dallas developer
> systems, where you can rent a virtual machine that runs z/OS or z/VM or
> Linux, and then do whatever you want with that OS.
>
>
>
> My conclusion is that the vendors (and IBM) who are saying "IBM Z and
> cloud" are not being honest with themselves. Calling a tail a leg doesn't
> make it one, and saying "We like IBM Z and it *can* do cloud-ish stuff,
> therefore we will say it's good for cloud" is not a rational (much less
> convincing) argument.
>
>
>
> Again, I'd love to be proven wrong. But the relative silence on this
> thread tends to suggest that nobody else buys it either. Well, nobody
> besides Ginny & Co.
>
>
>
> .phsiii
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
Scott Ford
IDMWORKS
z/OS Development

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Running ISPF's 3.5 utility from a clist

2018-09-16 Thread Seymour J Metz
Yes, ISPF stats are in the user half-words of the directory.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Jesse 1 Robinson 
Sent: Friday, September 14, 2018 12:26 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Running ISPF's 3.5 utility from a clist

I've never done this, but I believe that ISPF stats occupy additional 
(optional) space in a directory entry. It might happen that adding stats to an 
already full directory could lead to space constraints. This problem is not 
insurmountable but one to be anticipated just in case.

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Dana Mitchell
Sent: Friday, September 14, 2018 9:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Running ISPF's 3.5 utility from a clist

Another option is if you have/can get PDS command from CBTTAPE File182.  It has 
ATTRIB ADDSTATS command to add or change ISPF stats on member of a pds.

Dana

On Fri, 14 Sep 2018 16:13:24 +, Nims,Alva John (Al)  wrote:

>I do not know of a way to run the ISPF utility, but I have a couple options:
>#1. CBTTAPE "**FILE 703" Has a utilty to convert one stat format to ISPF 
>stats, so it might be a starting point to do what you want.
>
>#2. There is a product available called, "REXXTOOLS/MVS" from "Open Software 
>Technologies, Inc."
>http://secure-web.cisco.com/1CuTChrUR8JNtzUAvjkPvPj70q86skEX7okNfqvnU0V0KLyo20WQ5_xLs74xmhreGuK65prnPgJDVh09_l7-Z88ouYMkwSJHzN6ZysyjD7YqDmQb3nENrm-0c9Ub27L_39w34ViSbC1qj2BigGfJ0O3qdMffizS_MVMB-IzT1mNld7JTrZZjmqDJkblVb55ZDvCu_yZzwVeTh46DXcFUx07_Ie0vZcxciL6IzuvOfeT6TKUMXrH7xTfPtQhe07RxV5Rp_sqqP3BLv1IlI3-2NNzMlCfQrR2BU9HbP3lKxiv1SPiTujUiR-xJpED80aPj6XgwBWQlWRa6sgdkGMnpU_QzrklTuII-BtoMzQVv6aEro-yTD9JOzrZjs4IhqenrINqbFg9Egmy0__Ww32h7wHhvZJATNPfPHvSUeEzyH3cgKx7ar_96zpT35EOYjaXRc/http%3A%2F%2Fwww.open-softech.com
>Within this package is the BPAM interface that provides, "Direct support for 
>creation, retrieval, and update of ISPF statistics."
>
>It does work, I have used it.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Paul Gilmartin
On Sun, 16 Sep 2018 10:39:20 -0700, Charles Mills wrote:

>Otherwise I guess you need the classic solution with some character legal in C 
>macro names:
>
>#ifdef __MVS__
>   #define MACRONAME __macroname__
>#else
>   #define MACRONAME @macroname@
>#endif
>
>Looks to me like @ is legal in symbol names, but I could easily be wrong.
> 
Doesn't seem that way:
556 $ gcc --version
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

557 $ make foo
cc foo.c   -o foo
foo.c:2:19: error: stray ‘@’ in program
 #define MACRONAME @macroname@
   ^
foo.c:4:5: note: in expansion of macro ‘MACRONAME’
 int MACRONAME;
 ^
foo.c:2:29: error: stray ‘@’ in program
 #define MACRONAME @macroname@
 ^
foo.c:4:5: note: in expansion of macro ‘MACRONAME’
 int MACRONAME;
 ^

However, in an arbitrary "makefile.in":
# $LynxId: makefile.in,v 1.118 2011/06/12 18:36:28 tom Exp $
##makefile for lynx

SHELL   = @CONFIG_SHELL@
CDPATH  = .

.SUFFIXES:
@SET_MAKE@
prefix  = @prefix@
exec_prefix = @exec_prefix@
top_srcdir  = @top_srcdir@
srcdir  = @srcdir@
builddir= .
VPATH   = $(srcdir)

These "@...@" are replaced when GNU configure filters makefile.in to makefile.

Did the OP bypass a configure step?
(I'd hate do do all that from JCL.)

Mr. Natural sez, Use the right tool for the job.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Spam alert: Model9

2018-09-16 Thread Seymour J Metz
Be careful; spammers often forge headers, so it's safest to learn how to read 
headers and to check the Received header fields to determine the actual 
provenance of the spam.

See also http://www.medwayhosting.com/spam-l/deobfuscation-by-Shmuel/index.html


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of CM 
Poncelet 
Sent: Saturday, September 15, 2018 11:18 AM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: Spam alert: Model9

FWIW SPAM mail can be sent to https://www.spamcop.net/ with a copy sent
also to the spammer's email domain administrator (provided the
abuse@ email ID is keyed into spamcop's spare 'copy-to' box
that is).

The spammer's email domain is the one following the '@' sign. The
'report abuse to administrator' email address for the spammer can then
be found at 
https://secure-web.cisco.com/11Rj0URRt6sLw_P2VizI4v2gdo26_pqiMBOP4zRkAM9-nlimjAnJlp6-HqEGNDK45XOhG_VTyx16nYKlAIefZOQmBra9MEF93HPIeLS5vbiAsFVzznEzHo2lSbXQvBnH38UQdlaGjh0FoMPuvBFVkKfKlCBLKlaZzbWslfmFqD5dTroH3mLYhTWW2-BpKFanB2QBw-KOxk-9bJxdS_VxcTS_e-V3LBt78MwqkwkTaFC9Pe27XGZ9RjDmjEydMCf-aKrgri83XGA-v0_4zruL8Mc6FiY11LtePMKgwlFflae5fq-bApl2L6OmK2rJ6fxWx5yGC5ZbmUNS-i4Sjt0Q_TbD7MEKvN8bydxHMmMYxno5rcBNluTJhs4-hLvVz4UFvMN6OhsxAGmGSLQBMR0y9oxuj5CYMaEklwXglSxfkWhROAtRqX2gQABZrZR7Zr0pd/https%3A%2F%2Fwww.whois.com%2F.
 (Yes, it can be spoofed - but the
headers/metadata show the spammer's real email ID.)

This practically always stops any further junk mail being sent out.

(BTW My filters store any emails from unrecognised senders - e.g. from
Model9 - in my 'trash' folder, from where they are then deleted. So,
NOPWAD.)

HTH, CP



On 14/09/2018 22:30, Arthur wrote:
> On 14 Sep 2018 03:50:14 -0700, in bit.listserv.ibm-main
> (Message-ID:<7316854461517568.wa.giliadwyahoo@listserv.ua.edu>)
> 00d50942efa9-dmarc-requ...@listserv.ua.edu (Giliad Wilf) wrote:
>
>> Got this e-mail too, inspected it with some concerns, but finally
>> opened it.
>> It could prove useful, as the CEO advised my previous employer on
>> performance issues we had, to our satisfaction.
>> This CEO co-authored many IBM publications, both white and red, and
>> was a visiting developer at IBM of some z/OS components.
>
> If you know the CEO, tell him not to spam. Don't let spammers prosper.
> It wouldn't be the first time a CEO didn't know what his marketing
> people are doing.
>
> Also, I forwarded it to the edress in the anti-spam header:
>> X-Report-Abuse-To: ab...@hubspot.com (see
>> https://secure-web.cisco.com/1GujClvauL3cZ7Io1yNJWzrQB65DX2GHqmo7k9mSuX0Sw_X-mm6dI9Qi6EVPBrTOH1bNZmdgoKeqCGlQVoAkQHBsBRwEWzEUtgLBKc_OXDTtg9FYlTWokRgcLE2A0PMyKEUGrDJqOSv9MvA54e82tOnlC_8nzHszc-QYR18WjcIYd4GWOkx_PSaEwIPgkQ4CDw5dRThVxbmgCcfrz0gG9jfIQ7z-g6IHBxk8q8FI8aSUOB57tojOhkVtETICUfHE-_TVZtECjebk4N1dfijeEwuG435GtFJ-lnOcztvHRf5igqrrQB-wI6ferMNfOl-OOWPOr79Neji7M63YpKo-ChGzKU0NDnE3ASgupXuqc76ZV1P8vivc0Lvszw7JvqA80oVB7lEZlYS30wqvL6D4xxgz3jBHszeWYT9PF2Du5N3I5J5eA9hpKFn1dAYEArQ9cX17mBzGWPSUqFVmq4ieGAA/https%3A%2F%2Fwww.hubspot.com%2Fabuse-complaints%29
>
> I'm not sure how much good it'll do, but I did get a response from
> that. If the rest of you also report it, it might make a difference.
> He did say they "will be investigating to ensure compliance with our
> acceptable use policy."
>
> And, in reference to another post: I did not go to Share; I did not
> subscribe; it was sent to this edress which I use *only* for IBM Main.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> .
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: how to catalog page dataset to new MCAT

2018-09-16 Thread Seymour J Metz
That depends. Best practice is to use unique names for the page datasets in 
IEASYSxx PAGE=, in which case they don't present a conflicts.  You can even 
have identical IEASYSxx members if you use static system symbols to generate 
names specific to the LPAR.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
retired mainframer 
Sent: Saturday, September 15, 2018 12:53 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: how to catalog page dataset to new MCAT

Will your Z110S and Z210M systems run simultaneously in different LPARs?  If 
so, then you do not want to copy the catalog entry.  This will cause both 
systems to try to use the same page dataset on the same volume.  In this case 
you need to define new page datasets for Z210M.  See the "DEFINE PAGESPACE" 
command in your "Access Method Services for Catalogs" manual.

If the two systems will run in the same LPAR (obviously not simultaneously) and 
you really want to use the same page datasets for both, then you need to 
determine the names of the datasets in the current system.  Look up the "D ASM" 
command in your "MVS System Commands" manual.  Then you can copy the catalog 
entries to your new master catalog **and** update the PAGE parameter in your 
new IEASYSxx.

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of johnnydeep san
> Sent: Saturday, September 15, 2018 4:19 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: how to catalog page dataset to new MCAT
>
> I used  todd's jcl  and it ran fine but still getting same issue .
>
>REPRO INDATASET(CATALOG.Z110S.MASTER) -
> 00210004
>  OUTDATASET(CATALOG.Z210M.MASTER) -
>  00220004
>  LEVEL(SYS1.PLPA.PAGE)-
>  00221004
>  MERGECAT
>  00222004
> IDC01460I THE NUMBER OF ENTRIES MERGED WAS 0
>
> IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
>
>
>
> Should pagedatast locate in new master catalog(CATALOG.Z210M.MASTER)
> volume ? .
> I haven't  any page datasets in  new master catalog volume, it's located in
> old  master catalog  volume . how to make understand this page datasets to
> new master catalog ? .guide me.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM Z and cloud

2018-09-16 Thread Seymour J Metz
cloud = timesharing

Someone else deploys the infrastructure, to you it's a black box. Less control 
but also less manpower. Some legal issues.

No, z/OS is not a cloud, but neither is AIX, *bsd, Linux, windows or Solaris; 
it's the deployment that makes it a cloud or not a cloud. You can have a cloud 
with z/OS just as much as you can have one with, e.g., Linux.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Phil Smith III 
Sent: Saturday, September 15, 2018 1:21 PM
To: IBM-MAIN@listserv.ua.edu
Subject: Re: IBM Z and cloud

OK, so what do we mean by "cloud"? What *customers* seem to mean is "a compute 
platform where I can run my stuff but not have to deal with buying hardware and 
racking and cabling it and in general all the work of running a data center". 
By which definition, of course, traditional timesharing fits.



For x86, this is currently AWS and Google Cloud Platform and Microsoft Azure 
(and not HPE Helion). For z, it's more like the IBM Dallas developer systems, 
where you can rent a virtual machine that runs z/OS or z/VM or Linux, and then 
do whatever you want with that OS.



My conclusion is that the vendors (and IBM) who are saying "IBM Z and cloud" 
are not being honest with themselves. Calling a tail a leg doesn't make it one, 
and saying "We like IBM Z and it *can* do cloud-ish stuff, therefore we will 
say it's good for cloud" is not a rational (much less convincing) argument.



Again, I'd love to be proven wrong. But the relative silence on this thread 
tends to suggest that nobody else buys it either. Well, nobody besides Ginny & 
Co.



.phsiii


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Charles Mills
Otherwise I guess you need the classic solution with some character legal in C 
macro names:

#ifdef __MVS__
#define MACRONAME __macroname__
#else
#define MACRONAME @macroname@
#endif

Looks to me like @ is legal in symbol names, but I could easily be wrong.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ze'ev Atlas
Sent: Sunday, September 16, 2018 10:06 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C macro processor - supply exteranl values - emulating CMake

This seems to be a good idea
I will try to do:
DEF(@xxx@=1) and see if it works

As for Gil's question, yeah it is an open source (PCRE2) that is usually dealt 
with by gcc and make.
If the idea above worls themn I am done

ZA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Ze'ev Atlas
I did

DEF(@macroname@=1)

and it seems not to work.  i.e.


#define MACRONAME @macroname@
#if MACRONAME 
...
#else
...
#endif

did not yield the desired results

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Ze'ev Atlas
This seems to be a good idea
I will try to do:
DEF(@xxx@=1) and see if it works

As for Gil's question, yeah it is an open source (PCRE2) that is usually dealt 
with by gcc and make.
If the idea above worls themn I am done

ZA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Charles Mills
What exactly is the problem? 

Is there some reason you cannot DEF(@macroname@=newvalue) ?

Is @ legal is C macro names? Is there an IBM extension to allow it?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ze'ev Atlas
Sent: Sunday, September 16, 2018 7:35 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: C macro processor - supply exteranl values - emulating CMake

Unfortunately, this is NOT the case

I do have several cases were a macro is not defined in the source code but 
supplied, macro and value by the mechanism:
DEF(MACRONAME=somevalue)

Here I encountered something else (I assume it is a CMake and gcc construct).  
The macro is not defined externally, but in the source code:

#DEFINE MACRONAME @macroname@


and the make process would supply the value to substitute the @macroname@.  My 
question is whether IBM C run via JCL has a mechanism to supply the value only. 
 I believe that this is a non-standard feature that the GNU guys are pushing on 
us.

ZA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Paul Gilmartin
On Sun, 16 Sep 2018 11:58:14 +, Ze'ev Atlas wrote:
>...
>I have a new challenge, something like:
>#define HAVE_STDINT_H   @HAVE_STDINT_H@ 
>which means that I should not define the macro externally, but get only the 
>value from CMake
>
This looks like something to be substituted by a preprocessor
such as GNU configure. 

Where did you get this code?

>… I run with good ol' JCL.
>
Why?

But it might be discourteous of someone to distribute code which
depends on YA "commercially supported" product.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread Walt Farrell
On Sun, 16 Sep 2018 17:06:53 +0300, ITschak Mugzach  wrote:

>I do understand it, but it is interesting that  same blocks in different
>address spaces maps to same address spaces. It is clear why, it is always
>the same order of build, but still interesting.

Unless it's changed in the past few years, you'll find that the top few TCBs in 
each address space tend to be at the same addresses across address spaces, too. 
And the address space ACEE also is also commonly at the same address in each 
address space.

We had to design an interesting set of test cases when implementing some 
cross-memory functions in RACF to ensure that we were looking at the proper 
ASXB and proper TCB in all cases. It's very easy to end up looking at an ASXB 
or TCB or ACEE from Primary instead of Home if you're not careful :)

-- 
Walt

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Ze'ev Atlas
Unfortunately, this is NOT the case

I do have several cases were a macro is not defined in the source code but 
supplied, macro and value by the mechanism:
DEF(MACRONAME=somevalue)

Here I encountered something else (I assume it is a CMake and gcc construct).  
The macro is not defined externally, but in the source code:

#DEFINE MACRONAME @macroname@


and the make process would supply the value to substitute the @macroname@.  My 
question is whether IBM C run via JCL has a mechanism to supply the value only. 
 I believe that this is a non-standard feature that the GNU guys are pushing on 
us.

ZA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IBM Z and cloud

2018-09-16 Thread Matt Hogstrom
I think Cloud means two different things on whether cloud is a noun or a verb.  
For those describing Cloud as a noun its a place where things are cheap and 
there is no infrastructure.  Others describe noun as a verb which is about 
agility, process and speed.  For the most part, when people describe z/OS as 
Cloud they are referring to the verb which means you can deploy and develop as 
fast as you can on cloud.

Thanks how I see the differentiation.

Matt Hogstrom
m...@hogstrom.org
+1-919-656-0564
PGP Key: 0x90ECB270

I just read a book on Stockholm Syndrome,
it was pretty bad at first, but, by the end I kind of liked it.

> On Sep 15, 2018, at 8:00 PM, scott Ford  wrote:
> 
> Phil,
> 
> My issue with cloud computing and multiple z/OS it’s not structured
> financially for small ISVs like us.
> Cost is a big issue with us..
> 
> Scott
> 
> On Sat, Sep 15, 2018 at 1:22 PM Phil Smith III  wrote:
> 
>> OK, so what do we mean by "cloud"? What *customers* seem to mean is "a
>> compute platform where I can run my stuff but not have to deal with buying
>> hardware and racking and cabling it and in general all the work of running
>> a data center". By which definition, of course, traditional timesharing
>> fits.
>> 
>> 
>> 
>> For x86, this is currently AWS and Google Cloud Platform and Microsoft
>> Azure (and not HPE Helion). For z, it's more like the IBM Dallas developer
>> systems, where you can rent a virtual machine that runs z/OS or z/VM or
>> Linux, and then do whatever you want with that OS.
>> 
>> 
>> 
>> My conclusion is that the vendors (and IBM) who are saying "IBM Z and
>> cloud" are not being honest with themselves. Calling a tail a leg doesn't
>> make it one, and saying "We like IBM Z and it *can* do cloud-ish stuff,
>> therefore we will say it's good for cloud" is not a rational (much less
>> convincing) argument.
>> 
>> 
>> 
>> Again, I'd love to be proven wrong. But the relative silence on this
>> thread tends to suggest that nobody else buys it either. Well, nobody
>> besides Ginny & Co.
>> 
>> 
>> 
>> .phsiii
>> 
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>> 
> -- 
> Scott Ford
> IDMWORKS
> z/OS Development
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread ITschak Mugzach
Charles,

I do understand it, but it is interesting that  same blocks in different
address spaces maps to same address spaces. It is clear why, it is always
the same order of build, but still interesting.

ITschak

On Sun, Sep 16, 2018 at 4:49 PM Charles Mills  wrote:

> What Bin is saying is that they might indeed all be at the same address --
> but in different address spaces.
>
> Charles
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of ITschak Mugzach
> Sent: Sunday, September 16, 2018 6:29 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: ASCB scan and user-id...
>
> Binyamin,
>
> What surprised me what that all ASXBs has the same address... So, how  can
> I get the userid associated with the ASCB?
>
> ITschak
>
> On Sun, Sep 16, 2018 at 4:17 PM Binyamin Dissen <
> bdis...@dissensoftware.com>
> wrote:
>
> > Because the ASXB is in private. You need to use the target memorie's
> ASID.
> >
> > On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach 
> > wrote:
> >
> > :>Few days ago someone (can't recall the thread) asked about scanning (
> > ascb
> > :>chain. I tried to follow ascb  ASXB and found that it always point to
> my
> > :>aSXB, even when I take the offset from the chain. Any idea why? and
> > :>alternatively, how can I find the userid the ascb is associated with?
> >
> > --
> > Binyamin Dissen 
> > http://www.dissensoftware.com
> >
> > Director, Dissen Software, Bar & Grill - Israel
> >
> >
> > Should you use the mailblocks package and expect a response from me,
> > you should preauthorize the dissensoftware.com domain.
> >
> > I very rarely bother responding to challenge/response systems,
> > especially those from irresponsible companies.
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
> --
> ITschak Mugzach
> *|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
> for Legacy **|  *
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread Charles Mills
What Bin is saying is that they might indeed all be at the same address -- but 
in different address spaces.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of ITschak Mugzach
Sent: Sunday, September 16, 2018 6:29 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ASCB scan and user-id...

Binyamin,

What surprised me what that all ASXBs has the same address... So, how  can
I get the userid associated with the ASCB?

ITschak

On Sun, Sep 16, 2018 at 4:17 PM Binyamin Dissen 
wrote:

> Because the ASXB is in private. You need to use the target memorie's ASID.
>
> On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach 
> wrote:
>
> :>Few days ago someone (can't recall the thread) asked about scanning (
> ascb
> :>chain. I tried to follow ascb  ASXB and found that it always point to my
> :>aSXB, even when I take the offset from the chain. Any idea why? and
> :>alternatively, how can I find the userid the ascb is associated with?
>
> --
> Binyamin Dissen 
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Charles Mills
I'm not sure I follow. Is this right?

The macro HAVE_STDINT_H is defined somewhere already in the source code, so 
defining it in OPTFILE would cause an error.

However, you want it set to a value that would be supplied from OPTFILE? Is 
that right?

Could you DEF(HAVE_STDINT_H_VALUE=1) in OPTFILE and then

#define HAVE_STDINT_H HAVE_STDINT_H_VALUE in the source code? Possibly preceded 
by an #undef?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ze'ev Atlas
Sent: Sunday, September 16, 2018 4:58 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: C macro processor - supply exteranl values - emulating CMake

Hi allI am using IBM C compiler via good ol' JCL.  I already know how to supply 
external macro definitions by supplying://OPTFILE DD DSN=MY.LIB(OPTFILE),...and 
an OPTFILE member that contains lines like:DEF(HAVE_STDINT_H)or 
evenDEF(HAVE_STDINT_H=1)
I have a new challenge, something like:#define HAVE_STDINT_H   
@HAVE_STDINT_H@which means that I should not define the macro externally, but 
get only the value from CMake… I do not have CMake and I do not use it since I 
run with good ol' JCL.
Is there a way to supply the value only?
Thank you
Ze'ev Atlas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread ITschak Mugzach
Thanks Dori,

how to get the ID in case of SUB=MSTR?

ITschak

On Sun, Sep 16, 2018 at 4:41 PM Dori Polotsky 
wrote:

> ITschak,
>
> For an address space that is not SUB=MSTR, you can examine ASCB -> ASSB ->
> JSAB -> JSABUSID
> I believe all three control blocks should be SP 245 (common).
>
> Good luck,
>  Dori
>
> On Sun, Sep 16, 2018 at 4:29 PM, ITschak Mugzach 
> wrote:
>
> > Binyamin,
> >
> > What surprised me what that all ASXBs has the same address... So, how
> can
> > I get the userid associated with the ASCB?
> >
> > ITschak
> >
> > On Sun, Sep 16, 2018 at 4:17 PM Binyamin Dissen <
> > bdis...@dissensoftware.com>
> > wrote:
> >
> > > Because the ASXB is in private. You need to use the target memorie's
> > ASID.
> > >
> > > On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach  >
> > > wrote:
> > >
> > > :>Few days ago someone (can't recall the thread) asked about scanning (
> > > ascb
> > > :>chain. I tried to follow ascb  ASXB and found that it always point to
> > my
> > > :>aSXB, even when I take the offset from the chain. Any idea why? and
> > > :>alternatively, how can I find the userid the ascb is associated with?
> > >
> > > --
> > > Binyamin Dissen 
> > > http://www.dissensoftware.com
> > >
> > > Director, Dissen Software, Bar & Grill - Israel
> > >
> > >
> > > Should you use the mailblocks package and expect a response from me,
> > > you should preauthorize the dissensoftware.com domain.
> > >
> > > I very rarely bother responding to challenge/response systems,
> > > especially those from irresponsible companies.
> > >
> > > --
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> >
> >
> > --
> > ITschak Mugzach
> > *|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
> > for Legacy **|  *
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
>
> --
> [image: Model9]
> Dori Polotsky
> R
> m: +972-54-4584663  e: dori.polot...@model9.io   w: www.model9.io
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread Dori Polotsky
ITschak,

For an address space that is not SUB=MSTR, you can examine ASCB -> ASSB ->
JSAB -> JSABUSID
I believe all three control blocks should be SP 245 (common).

Good luck,
 Dori

On Sun, Sep 16, 2018 at 4:29 PM, ITschak Mugzach  wrote:

> Binyamin,
>
> What surprised me what that all ASXBs has the same address... So, how  can
> I get the userid associated with the ASCB?
>
> ITschak
>
> On Sun, Sep 16, 2018 at 4:17 PM Binyamin Dissen <
> bdis...@dissensoftware.com>
> wrote:
>
> > Because the ASXB is in private. You need to use the target memorie's
> ASID.
> >
> > On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach 
> > wrote:
> >
> > :>Few days ago someone (can't recall the thread) asked about scanning (
> > ascb
> > :>chain. I tried to follow ascb  ASXB and found that it always point to
> my
> > :>aSXB, even when I take the offset from the chain. Any idea why? and
> > :>alternatively, how can I find the userid the ascb is associated with?
> >
> > --
> > Binyamin Dissen 
> > http://www.dissensoftware.com
> >
> > Director, Dissen Software, Bar & Grill - Israel
> >
> >
> > Should you use the mailblocks package and expect a response from me,
> > you should preauthorize the dissensoftware.com domain.
> >
> > I very rarely bother responding to challenge/response systems,
> > especially those from irresponsible companies.
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
> --
> ITschak Mugzach
> *|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
> for Legacy **|  *
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
[image: Model9]
Dori Polotsky
R
m: +972-54-4584663  e: dori.polot...@model9.io   w: www.model9.io

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread ITschak Mugzach
Binyamin,

What surprised me what that all ASXBs has the same address... So, how  can
I get the userid associated with the ASCB?

ITschak

On Sun, Sep 16, 2018 at 4:17 PM Binyamin Dissen 
wrote:

> Because the ASXB is in private. You need to use the target memorie's ASID.
>
> On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach 
> wrote:
>
> :>Few days ago someone (can't recall the thread) asked about scanning (
> ascb
> :>chain. I tried to follow ascb  ASXB and found that it always point to my
> :>aSXB, even when I take the offset from the chain. Any idea why? and
> :>alternatively, how can I find the userid the ascb is associated with?
>
> --
> Binyamin Dissen 
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ASCB scan and user-id...

2018-09-16 Thread Binyamin Dissen
Because the ASXB is in private. You need to use the target memorie's ASID.

On Sun, 16 Sep 2018 15:46:32 +0300 ITschak Mugzach  wrote:

:>Few days ago someone (can't recall the thread) asked about scanning ( ascb
:>chain. I tried to follow ascb  ASXB and found that it always point to my
:>aSXB, even when I take the offset from the chain. Any idea why? and
:>alternatively, how can I find the userid the ascb is associated with?

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


ASCB scan and user-id...

2018-09-16 Thread ITschak Mugzach
Few days ago someone (can't recall the thread) asked about scanning ( ascb
chain. I tried to follow ascb  ASXB and found that it always point to my
aSXB, even when I take the offset from the chain. Any idea why? and
alternatively, how can I find the userid the ascb is associated with?

ITschak

-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Contiguous Monitoring
for Legacy **|  *

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


C macro processor - supply exteranl values - emulating CMake

2018-09-16 Thread Ze'ev Atlas
Hi allI am using IBM C compiler via good ol' JCL.  I already know how to supply 
external macro definitions by supplying://OPTFILE DD DSN=MY.LIB(OPTFILE),...and 
an OPTFILE member that contains lines like:DEF(HAVE_STDINT_H)or 
evenDEF(HAVE_STDINT_H=1)
I have a new challenge, something like:#define HAVE_STDINT_H   
@HAVE_STDINT_H@which means that I should not define the macro externally, but 
get only the value from CMake… I do not have CMake and I do not use it since I 
run with good ol' JCL.
Is there a way to supply the value only?
Thank you
Ze'ev Atlas

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Auto backup of zfs

2018-09-16 Thread Gil Peleg
Munif,
There are ISV products in the market that already today support backup and
recovery of individual z/OS UNIX files within a zFS.

Two examples I am aware of:

   - Model9 Backup and Recovery for z/OS - https://model9.io and
   
https://model9.io/wp-content/uploads/2018/01/Model9_Unix_Bank_case-study-V1.pdf
   - Innovation FDR/UPSTREAM - https://www.fdr.com/products/upstream/


On Mon, Sep 10, 2018 at 6:56 PM Glenn Wilcock  wrote:

> Hi, we have not yet publicly announced a date.  If you have a
> nonDisclosure Agreement, we can discuss offline.  Thx, Glenn
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN