Re: TESTAUTH from C/C++

2022-08-15 Thread David Crayford
inline bool isauth() {   int rc;   __asm (" TESTAUTH FCTN=1"     : "=NR:r15"(rc)     :     : "r1", "r14", "r15");   return rc == 0; } On 16/08/2022 2:17 am, Tony Harminc wrote: Marginally related to my previous question - I'd like to do a TESTAUTH from C/C++ code, and refuse to run i

Re: LINK monitor status for OSA HMC

2022-08-15 Thread Tom Brennan
Is it a 10G (1 port) or 1G (2 port) OSA card? 10G cards won't negotiate speed, from what I've seen. On 8/15/2022 10:21 PM, Jake Anderson wrote: Hi The OSA port is connected with working cable LC-LC MM fibre to the 1g switch. From the Cisco switch it has been set as auto negotiate to yes. Sti

Re: Problems caused by Health Checker?

2022-08-15 Thread Itschak Mugzach
Health checks can run under the asid of the HC. if you reply cancel, you should see msg IKJ5622I in JESYSMSG with the dataset that caused the failed allocation. ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security Continuous Monitoring

Re: LINK monitor status for OSA HMC

2022-08-15 Thread Jake Anderson
Hi The OSA port is connected with working cable LC-LC MM fibre to the 1g switch. From the Cisco switch it has been set as auto negotiate to yes. Still from the mainframe the port doesn't show up the LED indication at all. I tried toggling standby/online but still no luck. Ran port diagnostics too

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Nobuhiko Furuya
Thanks. But I can't find how to code it. I would line to change time value depend on the logic. How can I resolve this ? For example, when I coded as follows, T=60 msghsm = getmsg('resp.','SOL','HSM',,T) the following messages appeared. IKJ55303I THE CONSOLE COMMAND HAS TERMINATED.+ IKJ55303I A

Re: clarification on SDWAEPA. (was ...SWDAEPA)

2022-08-15 Thread Brian Westerman
Peter, Where can I find a definitive write-up on how ESTAE recovery works and how to use it? The doc I can find is not really very easy to understand. Since I have problems understanding it, I would think that someone trying to use it for the first time would have even more issues. :) Brian

Re: Blank page print after upgrade Zos2.5

2022-08-15 Thread Seymour J Metz
You claimed "The JES2 guide says that JES2 calls IEFSD095 *to build the separator pages*"; it's the last 5 words that are different from what I wrote, and wrong. IEFSD095 is the block letter routine and nothing more. From: IBM Mainframe Discussion List o

Re: How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Seymour J Metz
There is nothing special about getmsg; the time parameter can be any expression that evaluates to a positive number. Note: specifying the CART in hexadecimal is certainly valid, but it makes the code harder to read. From: IBM Mainframe Discussion List o

Re: CC compiler under CMS - LSEARCH option

2022-08-15 Thread Paul Gilmartin
On Mon, 15 Aug 2022 21:44:57 -0500, Alan Altmark wrote: > >>o A BFS member? > >#include "/usr/alan/src/include/my.macro" > Must ot be fully qualified, or can it be relative to current working directory? >LSEARCH(/usr/alan/src/include) > Same question. -- Thanks, gil ---

Re: Optimizing DFSORT Use of Z Sort Accelerator

2022-08-15 Thread kekronbekron
Hi Sri, Looking at my TechDocs like, it does have 'DA900' in it; so it must be the same. What you've shown is that we have to search for something, and then find out that there's something new. What I mean is a very simple page like https://public.dhe.ibm.com/s390/newfunctionapars/mvsstore.zosa

Re: CC compiler under CMS - LSEARCH option

2022-08-15 Thread Alan Altmark
On Mon, 15 Aug 2022 12:40:57 -0500, Paul Gilmartin wrote: >How can the programmer indicate: > >o A SFS member with a directory path? > (Must it be accessed with a mode letter?) There is no such capability; the directory must be accessed. You can use LSEARCH(A,B,D), for example, to restrict w

Re: Problems caused by Health Checker?

2022-08-15 Thread Mark Zelden
On Mon, 15 Aug 2022 22:09:13 +, Pew, Curtis G wrote: >We’ve occasionally had problems with our production z/OS LPAR that seem to be >caused by HZSPROC, and I was wondering if anyone else has seen anything like >this. > >One problem we’ve seen is that sometimes when HZSPROC starts during an

How to set time parameter in TSO/E REXX getmsg function

2022-08-15 Thread Nobuhiko Furuya
Hi all, Can we set variable time parameter in TSO/E REXX getmsg function ? We would like to specify wait time value from argue. But getmsg seems to accept only specific numeric seconds as follows. msgrett = getmsg(’dmsg’,’sol’,’C1D7D7D3F2F9F6F8’X,,60) time the amount of time, in seconds, that G

Re: Problems caused by Health Checker? [EXTERNAL]

2022-08-15 Thread Feller, Paul
I've not seem this type of behavior as far as I recall. Depending on the level of z/OS you are running there are lots of different checks being done these days. I believe some of those try to "touch" datasets (maybe) to look at allocation information. Others may know better. Could that type

Re: Problems caused by Health Checker?

2022-08-15 Thread Michael Babcock
I’ve never seen anything like that in our shop. On Mon, Aug 15, 2022 at 5:09 PM Pew, Curtis G wrote: > We’ve occasionally had problems with our production z/OS LPAR that seem to > be caused by HZSPROC, and I was wondering if anyone else has seen anything > like this. > > One problem we’ve seen i

Problems caused by Health Checker?

2022-08-15 Thread Pew, Curtis G
We’ve occasionally had problems with our production z/OS LPAR that seem to be caused by HZSPROC, and I was wondering if anyone else has seen anything like this. One problem we’ve seen is that sometimes when HZSPROC starts during an IPL, it for some reason seems to try to access a migrated datas

Re: TESTAUTH from C/C++

2022-08-15 Thread Charles Mills
ISAUTH EDCPRLG DSALEN=CDSALEN,BASEREG=NONE * TESTAUTH FCTN=1 * SRL R15,2 4 => 1 LCR R15,R15 1 => -1 AHI R15,1 1 => 0; 0 => 1 * EDCEPIL , -

Re: TESTAUTH from C/C++

2022-08-15 Thread Tony Harminc
On Mon, 15 Aug 2022 at 15:26, Kirk Wolf wrote: > IMO, If you are going down the path of writing C/C++ for z/OS of much > significance, you will likely need to write some assembler routines that > you can call from C/C++.Just bite the bullet and figure out the calling > conventions (XPLINK?) a

Re: TESTAUTH from C/C++

2022-08-15 Thread Bernd Oppolzer
That's what I did, for example to be able to call SWAREQ etc. from C or certain machine instructions which cannot be reached from C otherwise. Very small ASSEMBLER routines with clean C interfaces. Because we are only using 31-bit C with standard linkage conventions and NORENT, the linkage to the

Re: TESTAUTH from C/C++

2022-08-15 Thread Kirk Wolf
IMO, If you are going down the path of writing C/C++ for z/OS of much significance, you will likely need to write some assembler routines that you can call from C/C++.Just bite the bullet and figure out the calling conventions (XPLINK?) and you will be glad in the long run. The compiler inl

Re: Access to System Symbols from a C/C++ program?

2022-08-15 Thread Paul Gilmartin
On Mon, 15 Aug 2022 13:54:18 -0400, Tony Harminc wrote: >There seem to be way too many ways to access various subsets of System and >JCL symbols. > Yes. However a mitigating factor is that many of them don't work thee way you'd like. >... I have C/C++ code that I want to be able to read its

TESTAUTH from C/C++

2022-08-15 Thread Tony Harminc
Marginally related to my previous question - I'd like to do a TESTAUTH from C/C++ code, and refuse to run if I'm not APF authorized. I'm not proposing to actual use the result for any sort of my own security testing, but just to know if calling a C/C++ library function that is documented to require

Access to System Symbols from a C/C++ program?

2022-08-15 Thread Tony Harminc
There seem to be way too many ways to access various subsets of System and JCL symbols. I have C/C++ code that I want to be able to read its own config file (a UNIX file, that is) and perform substitution for system symbols. I do not want the user to have to run an extra job step or the like. Ther

Re: CC compiler under CMS - LSEARCH option

2022-08-15 Thread Paul Gilmartin
On Mon, 15 Aug 2022 10:55:17 -0500, Alan Altmark wrote: >>... >You specified >#include >instead of >#include "my.macro" > ><> are for system include files. These are always H files or members of a >MACLIB. > >Quotes are for *user* include files. They can be any name. If not found,

CC compiler under CMS - LSEARCH option

2022-08-15 Thread Colin Paice
On z/OS I've occasionally had to use NOLSEARCH,LSEARCH(...) to remove the default LSEARCH to get my LSEARCH to work. Colin -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu w

Re: CC compiler under CMS - LSEARCH option

2022-08-15 Thread Alan Altmark
On Sun, 14 Aug 2022 00:49:20 +0300, Binyamin Dissen wrote: >I am trying to tell the C compiler to use MACRO file types for #include. > : >I have tried multiple versions of LSEARCH with no luck. > >cc **name** c * (lsearch(*.macro) >WARNING CCN3261 Suboption *.macro is not valid for option LSEARC

Re: Optimizing DFSORT Use of Z Sort Accelerator

2022-08-15 Thread Sri h Kolusu
>> I was hoping this would show up in the TechDocs page KB, Not sure if DA900 translates to "Tech doc". The new page is published as a part of DFSORT, you can find it here https://www.ibm.com/support/pages/ibmsearch?q=dfsort&sortby=desc Thanks, Kolusu DFSORT Development IBM Corporation ---

Re: Shopz Links Broken?

2022-08-15 Thread Carmen Vitullo
this is the link I have bookmarked, it take me to the sign-in/register page https://www.ibm.com/software/shopzseries/ShopzSeries_public.wss On 8/15/2022 9:40 AM, Michael Babcock wrote: Must be something in our network. That same link did not work from within our network. On Mon, Aug 15, 2022

Re: Shopz Links Broken?

2022-08-15 Thread Michael Babcock
Must be something in our network. That same link did not work from within our network. On Mon, Aug 15, 2022 at 9:38 AM Michael Babcock wrote: > That link did work for me on my phone. I’ll try from within the company > network. Thanks! > > On Mon, Aug 15, 2022 at 9:33 AM Carmen Vitullo > wrot

Re: Shopz Links Broken?

2022-08-15 Thread Michael Babcock
That link did work for me on my phone. I’ll try from within the company network. Thanks! On Mon, Aug 15, 2022 at 9:33 AM Carmen Vitullo wrote: > Hi Mike, the link I have is > > https://www.ibm.com/software/shopzseries/ShopzSeries.wss?action=login > > my company uses Single user or single sign

Re: Shopz Links Broken?

2022-08-15 Thread Carmen Vitullo
Hi Mike, the link I have is https://www.ibm.com/software/shopzseries/ShopzSeries.wss?action=login my company uses Single user or single sign on so once I verify my email I just get taken there HTH's Carmen On 8/15/2022 9:22 AM, Michael Babcock wrote: All links that I have tried don’t tak

Shopz Links Broken?

2022-08-15 Thread Michael Babcock
All links that I have tried don’t take me to the traditional Shopz website. Has IBM broken or changed something? It takes me to the IBM Software landing page and I don’t see how to get to Shopz. -- Michael Babcock OneMain Financial z/OS Systems Programmer, Lead

Re: Remote HMC

2022-08-15 Thread Cieri, Anthony
No, the POR and IPLs were completed before the remote HMC was installed -Original Message- From: IBM Mainframe Discussion List On Behalf Of Shelia Chalk Sent: Monday, August 15, 2022 8:37 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Remote HMC [[ SEI WARNING *** This emai

Re: Optimizing DFSORT Use of Z Sort Accelerator

2022-08-15 Thread kekronbekron
Hello Sri, As always, thanks for your tireless help on this topic. I was hoping this would show up in the TechDocs page (https://www.ibm.com/support/pages/ibmsearch?q=&dc=DA900&task=&startdate=19380912&sortby=desc) ... but of course it doesn't. Serious question to IBM - What is the thought proc

Optimizing DFSORT Use of Z Sort Accelerator

2022-08-15 Thread Sri h Kolusu
Hi, There has been a growing need to get the maximum value from the Z Sort Accelerator on z15s. To address this need, we created three sample ICETOOL reports that analyze DFSORT's SMF type 16 records. we also provided DFSORT Symbol mappings for SMF record type 16. You can access all of this in

Re: Remote HMC

2022-08-15 Thread Shelia Chalk
After you made the changes on the HMC did you do a POR then IPL? Thanks Shelia Chalk -Original Message- From: IBM Mainframe Discussion List On Behalf Of Radoslaw Skorupka Sent: Sunday, August 14, 2022 10:00 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Remote HMC Tony, Assuming you real

Re: clarification on SDWAEPA. (was ...SWDAEPA)

2022-08-15 Thread Peter Relson
The OP had an incorrect starting assumption that "the system" knows anything at all about SDWAMODN. It does not. That is a field filled in by the recovery routine. The trio of fields SDWAMODN, SDWACSCT, SDWAREXN (often accessed as a group by the containing name of SDWARECP) contain whatever a re

Re: Ent. Cobol 6.3 on z/os 2.2?

2022-08-15 Thread ITschak Mugzach
Will give it a try. Thanks. ITschak ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS, x/Linux & IBM I **| z/VM coming soon * On Mon, Aug 15, 2022 at 7:21 AM Brian Westerman < brian_wester...@syzygyinc.com> wrote: > It should work fine, I have