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-standa

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 ses

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' en

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 infrastruct

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.e

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 s

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

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://ma

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 cl

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

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, s

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 --

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:

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 p

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 yea

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,

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 descr

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

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-MAI

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

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

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

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

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, eve

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 --

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

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_cas