Re: OSA-ICC Connection Question

2023-11-15 Thread Luc Martens (KBC)
There is a relationship between an OSAICC definition and VTAM if you want to use that OSAICC session as an non-sna terminal. You then need a VTAM non-SNA definition in your VTAM list. The relation between the OSAICC session and VTAM is based on the CUU address you specify in your VTAM major node.

Re: What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread Laurence Chiu
It was gold for me and will help me settle a dispute with some local sysprogs who said there would be no problem. My question is, it says if you don't have a CF then change GRS=TRYJOIN or =NONE. Problem is, when the problem occurs, how do you get online to change it? I could not find an operator co

Re: External Functions in C on z/OS

2023-11-15 Thread David Crayford
When I first published RTK it was using some closed source code. I think it may be ok to open source it but I'll have to check with the PTB. On Thu, Nov 16, 2023 at 1:45 PM Farley, Peter < 031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > David, > > I see at your RTK github you are only pr

Re: External Functions in C on z/OS

2023-11-15 Thread Farley, Peter
David, I see at your RTK github you are only providing load modules. Is there any chance you can you provide corresponding source for others to use as a model for other applications (like Eric’s EZNOSQL)? The basic RTK setup really sounds like a good fit for a CBT submission, if there are no

Re: External Functions in C on z/OS

2023-11-15 Thread Tony Harminc
On Wed, 15 Nov 2023 at 15:03, Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: [...] > In the REXX Ref. I see: > Register 0 > Address of an environment block (optional) > > "optional" should never be specified as a register content. I read that > as: > A

Re: The JES2 NJE node that cannot die.

2023-11-15 Thread Brian Westerman
There are several steps, First you need to (in vtam via V NET,INACT,ID=) inactivate any cross domain and CDRSC connections between that LPAR and everyone else, then you need to (in JES) using the TSOCKET(name) command change it to connect=no. From that point on, the physical connections just p

Re: External Functions in C on z/OS

2023-11-15 Thread Farley, Peter
On the z/OS V2.x systems that I can access, the PDS (not PDSE) with the IBM-supplied C headers is .SIEAHDR.H where is whatever your z/OS install process set up. Many IRXx headers are already done for you by IBM. HTH Peter From: IBM Mainframe Discussion List On Behalf Of David Crayford

Rexx to clone users in RACF

2023-11-15 Thread Peter
Hello I am looking for a rexx logic which can multiple RACFID based on one model user ? Does anyone have any sample rexx code or any logic that you can share with me? Peter -- For IBM-MAIN subscribe / signoff / archive access i

Re: OSA-ICC Connection Question

2023-11-15 Thread Jay Maynard
Correct. Tony supplied what you need. A VTAM APL is for applications, like CICS and TSO, or for things that emulate terminals in software running under VTAM, like NetView Access or TPX. The OSA-ICC is, as far as VTAM is concerned, nothing more than a hardware 3270; all of the TCP/IP magic is in the

Re: External Functions in C on z/OS

2023-11-15 Thread David Crayford
There's a TSO/E vector table that has the address of the REXX routines. // get the address of the TSO/e vector table CVT * cvt = *(( CVT ** ) CVTPTR); TSVT * tsvt = cvt->cvttvt; // IKJTSVT.H - TSO/E Vector Table mapping // // Contains addresses of branch entered routines and control blocks

Re: OSA-ICC Connection Question

2023-11-15 Thread Tony Thigpen
You don't need an APPL. You need an LBUILD: LOCAL080 LBUILD * ICU1L088 LOCAL TERM=3277,CUADDR=088,ISTATUS=ACTIVE,MODETAB=ISTINCLM, X FEATUR2=(MODEL2),USSTAB=USSNSNA,DLOGMOD=D4B32XX3 On exception. If you are using the terminal as a console only, then VTAM does not need to have i

Re: What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread kekronbekron
Awesome, how do we even find such gems with TechDocs being what it is... Luckily for this one, I seem to have it bookmarked. On Thursday, November 16th, 2023 at 05:14, Attila Fogarasi wrote: > Answered a decade ago including how to continue the IPL and get running > (either single system or s

Re: OSA-ICC Connection Question

2023-11-15 Thread Michael Babcock
So you are saying I don’t need a VTAM APPL statement with an LU defined? On Wed, Nov 15, 2023 at 7:47 PM Jay Maynard wrote: > A VTAM APPL is used for a program. The OSA-ICC looks to VTAM like a plain > old 3270 terminal. The LU definition that mentions the device number is the > only LU definiti

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
> There isn’t an R0 issue. IRXINIT(‘FINDENVB’) will fetch the environment > block. IIRC I needed the entry R0 to get the address of IRXINIT so I could call it. Charles -- For IBM-MAIN subscribe / signoff / archive access instr

Re: What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread Laurence Chiu
That is perfect, thanks. Looks like there is some work to do at the DR site to make sure this does not happen. On Thu, Nov 16, 2023 at 12:44 PM Attila Fogarasi wrote: > Answered a decade ago including how to continue the IPL and get running > (either single system or sysplex without CF) > > htt

Re: External Functions in C on z/OS

2023-11-15 Thread David Crayford
My advice is to write a command processor. As I said creating an LE environment for each function call will result in terrible performance. I’ve done this many times https://github.com/daveyc/RTK. The trick is to use CEEPIPI to create a pre-initialised LE environment and hang the pointer in USER

Re: OSA-ICC Connection Question

2023-11-15 Thread Jay Maynard
A VTAM APPL is used for a program. The OSA-ICC looks to VTAM like a plain old 3270 terminal. The LU definition that mentions the device number is the only LU definition you need, or can have. On Wed, Nov 15, 2023 at 6:47 PM Michael Babcock wrote: > We have an OSA-ICC connection set up as a 3270

Re: External Functions in C on z/OS

2023-11-15 Thread Eric Erickson
First of all thanks to Colin for sending me the headers. Before I went down the path of generating them myself, I want to see what other had experienced trying to do this. I can't use Metal C, as the routines I want to call out of the functions are not supported under Metal C. FWIW, I was lo

Re: External Functions in C on z/OS

2023-11-15 Thread David Crayford
There isn’t an R0 issue. IRXINIT(‘FINDENVB’) will fetch the environment block. All of the REXX mapping macros have been converted to C structures and can be found in /usr/include/zos (there is a PDS/E but I can’t remember what it's called). FWIW, writing external functions in C/C++ is a bad idea

OSA-ICC Connection Question

2023-11-15 Thread Michael Babcock
We have an OSA-ICC connection set up as a 3270 session type. The LU Name in that definition is TERM140. The CUA is B400.We have a 3270 session defined with the proper IP and the same LU Name of TERM140.This all works as expected. My question is that I thought a VTAM APPL with an LUNAME

Re: What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread Attila Fogarasi
Answered a decade ago including how to continue the IPL and get running (either single system or sysplex without CF) https://www.ibm.com/support/pages/system/files/inline-files/Where_is_My_Coupling_Facility.pdf "The paper is being written to provide clear and concise instructions on how to address

Re: What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread Mark Jacobs
GRS will attempt to connect to ISGLOCK, fail and z/OS will go into a X'0A3' wait state. Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get&search=markjac...@protonmail.com On Wednesday, November 15th, 2023 at 5:49 PM,

What happens if you IPL a LPAR defined as being in a parallel sysplex but the CF LPAR is not there

2023-11-15 Thread Laurence Chiu
Thinking about a LPAR defined as being in a parallel sysplex with GRS=STAR. What happens if you IPL that LPAR and the CF is not active? Will it start, issue a WTOR or just fail? We are wondering what would happen if our LPAR was started at the DR site (off a replicated set of volumes) but the DR

Re: PL/I question

2023-11-15 Thread Robin Vowels
The attribute BUILTIN can be used only for a name that is a built-in function. It overrides any prior declaration if the name as a variable or label etc in an outer block. On 2023-11-16 05:33, Steve Beaver wrote: BUILTIN is a way to tell the compiler that what ever something like SUBSTR doesn’

Re: PL/I question

2023-11-15 Thread Robin Vowels
BUILTIN is used when, for example, an identifier that is the same as the name of a BUILT-IN function has been used as a variable. Suppose that you want to use that built-in function in an inner block. Then you declare it as BUILTIN. E.G. declare sqrt builtin; This overrides the declaration in t

Re: External Functions in C on z/OS

2023-11-15 Thread Farley, Peter
OK, I sort of understand the “personal preference” about not using inline assembler (it is kludgey, I agree) and somewhat understand the concern about the “unsupported” aspect of retrieving register contents at entry, but if that is the case why not use MetalC where you have much more control of

Re: External Functions in C on z/OS

2023-11-15 Thread Paul Gilmartin
On Wed, 15 Nov 2023 12:06:48 -0600, Charles Mills wrote: >@Peter, I went around on the R0 question here a couple of years ago. > CMSThink: Since no one uses R0, it's OK for everyone to use it. And the developers who ported REXX to TSO were too unaware to spot the problem and fix it. Or perhaps

Re: PL/I question

2023-11-15 Thread Steve Beaver
BUILTIN is a way to tell the compiler that what ever something like SUBSTR doesn’t need to be resolved outside of the object Sent from my iPhone No one said I could type with one thumb > On Nov 15, 2023, at 11:33, Binyamin Dissen wrote: > > A PL/I source code member has > > DCL

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
@Peter, I went around on the R0 question here a couple of years ago. - No, I don't think there is a reliable way to get the entry R13 from within the C/C++ code. Obviously, if you could, then any other register is trivial. - Yes, people suggested inline assembler. I rejected that approach -- it

Re: External Functions in C on z/OS

2023-11-15 Thread Farley, Peter
Isn’t there is some C library function (maybe unique to XLC/C++) that lets you get the value of R13 (current DSA pointer)? With that pointer value in hand, couldn’t one chain up the DSA stack to get to the saved registers at entry, or is that not possible? At worst, an inline ASM routine to co

Re: External Functions in C on z/OS

2023-11-15 Thread Charles Mills
I see, in my C++ projects, EFPL, ENVB, EVALB and SHVB structs that appear to me to have been produced from IBM macros by the EDCDSECT tool. Have you looked for the IRX macros in SYS1.MACLIB? Are you familiar with EDCDSECT? Slightly changing the subject, to interface with the Rexx environment fr

PL/I question

2023-11-15 Thread Binyamin Dissen
A PL/I source code member has DCL foobar BUILTIN and must be compiled with RULES(LAXDCL) I see no reference to FOOBAR as a function call. My question is if FOOBAR was invoked, what does the BUILTIN clause do? A different calling sequence? Looking for an internal label? -- Binyamin

Re: External Functions in C on z/OS

2023-11-15 Thread Colin Paice
I'll send you an xmit file offline. Ftp to z/OS as bin then use tso receive Colin On Wed, 15 Nov 2023 at 16:57, Eric Erickson wrote: > I've written quite a few callable external functions for Rexx over the > years. On z/OS I've always used assembler as we needed to access system > services fo

External Functions in C on z/OS

2023-11-15 Thread Eric Erickson
I've written quite a few callable external functions for Rexx over the years. On z/OS I've always used assembler as we needed to access system services for a variety of tasks. I've written them in C for other platforms (OS/2 & Windows) over the years. I need to write some on z/OS, but I want to

Re: The JES2 NJE node that cannot die.

2023-11-15 Thread Lennie Dymoke-Bradshaw
I think you need to set up your RACF NODES profiles and set the node in question to UNTRUSTED. Lennie Dymoke-Bradshaw https://rsclweb.com ‘Dance like no one is watching. Encrypt like everyone is.’ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Tom Longfellow Sent:

Re: The JES2 NJE node that cannot die.

2023-11-15 Thread Jack Zukt
Hi, You could try using RACF to prevent the node being used. >From the RACF Administrator's Guide: You can use profiles in the NODES class to control how RACF® validates inbound work on an NJE network. As with other RACF profiles, a NODES profile consists of a profile name, a profile class, a un

Re: The JES2 NJE node that cannot die.

2023-11-15 Thread Art Zeigler
Have you looked at this webpage on deleting JES network connections - https://www.ibm.com/docs/en/zos/3.1.0?topic=section-del-connect-delete-network-connections Art Zeigler From: IBM Mainframe Discussion List on behalf of Tom Longfellow <03e29b607131-dm

The JES2 NJE node that cannot die.

2023-11-15 Thread Tom Longfellow
I have been in this business for decades and have run in to this situation on a few occaisions. Never really came up with the right recipe to make this happen. Our JES2 systems are NJE interconnected over SNA links interconnected with several other mainframes at other agencies. For resilien

Re: Lessons Learned - Mass Extended Format DS Conversion - ZOS 2.5

2023-11-15 Thread Lennie Dymoke-Bradshaw
Steve, I took a major role in such a product a couple of years back. Sadly it was cancelled a few week before the first application was due to be encrypted. We had a five string approach to the project. They were led by separate people but we worked together a great deal of course. 1. Set up IC

Re: Suspend/Resume for Paging

2023-11-15 Thread Jim Mulder
No, that was removed in in 2006 by APAR OA14248 (HyperPAV support). Jim Mulder -Original Message- From: IBM Mainframe Discussion List On Behalf Of Mark Jacobs Sent: Wednesday, November 15, 2023 8:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Suspend/Resume for Paging Does z/OS still u

Suspend/Resume for Paging

2023-11-15 Thread Mark Jacobs
Does z/OS still use this for I/O to its paging devices? Mark Jacobs Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get&search=markjac...@protonmail.com ---

Lessons Learned - Mass Extended Format DS Conversion - ZOS 2.5

2023-11-15 Thread Steve Estle
All, We are in the midst of rolling out pervasive encryption in our ZOS 2.5 customer environment. To get there of course we need to move to extended format datasets (sequential, VSAM, etc) which we have minimal exposure / experience with today (We have multiple 100K's of datasets in our catal