AW: Re: Many arguments to a Rexx function call

2018-04-10 Thread Peter Hunkeler
>I am using now a different separator character Another way to accomplish this is to enclose the whole set of parameters in quotes or double quotes, thereby creating a single string parameter. You can keep the comata as separators *within* the string. In the receiving code parse the

AW: Re: Many arguments to a Rexx function call

2018-04-10 Thread Peter Hunkeler
>Frankly, I came across the 20 argument limit simply by trying it out. The REXX language imposes no limit on the number of subroutine call or function invocation parameters, but allows implementations to specify limits. TSO/E has the limit of 20. For function invocation see "z/OS TSO/E REXX

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread David Crayford
On 11/04/2018 1:11 AM, Charles Mills wrote: I don't think there is a theological boundary: 7 arguments good, 8 arguments bad. Your example strikes me as pretty clear. OTOH Myfunc(true, true, false, true, false, false) Unfortunately that's an anti-pattern that is all too common because the

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread David Crayford
On 11/04/2018 12:24 AM, Phil Smith III wrote: arguments. As a theological discussion, I find this interesting. Our case is like this (and isn't Rexx, though it could be): It may sound like dogma but It's a psychological theory known as Millers law. Seven is a magic number for people’s

Re: IBM ZD

2018-04-10 Thread Timothy Sipples
Dave Jousma wrote: >Maybe I'm making a mountain out of a molehill here and over complicating things. Maybe. Probably. :-) >My architects keep pounding on me that they just want to use the IBM supplied >vanilla copy of the z/OS image, and the DB2 that comes with that. What's wrong with that? If

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Paul Gilmartin
On Tue, 10 Apr 2018 20:35:34 -0400, Tom Conley wrote: >On 4/10/2018 7:14 PM, Phil Smith III wrote: > >> Seriously, I'm chary of doing something just to fit some arbitrary rule like >> "more than n arguments is bad". This reminds me of the "GOTOs are bad": yes, >> they often are, but there are

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Tom Conley
On 4/10/2018 7:14 PM, Phil Smith III wrote: Seriously, I'm chary of doing something just to fit some arbitrary rule like "more than n arguments is bad". This reminds me of the "GOTOs are bad": yes, they often are, but there are plenty of cases where a simple GOTO makes the code MUCH simpler.

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Tom Conley
On 4/10/2018 7:26 PM, Veryl Ellis wrote: Yes, the SungardAS z/OS Floor System has OMVS running zFS file systems. Call or email me using the information in my signature tag. Thanks, S. Veryl Ellis | Senior Systems Engineer | IBM Z Systems – Technical Services Group | Sungard Availability

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Paul Gilmartin
On Tue, 10 Apr 2018 16:27:20 -0400, Steve Smith wrote: >Take that array of tuples and put a pointer to it in the parm list. And >voila, you have only three parms, although two might be enough. The array >entries can be defined much more flexibly than trying to cram the >information into a list

Re: Many arguments to a Rexx function call

2018-04-10 Thread Paul Gilmartin
On Fri, 6 Apr 2018 12:29:21 -0400, Phil Smith III wrote: > >Doesn't actually need the space, of course, though my personal style would >use it for readability. It's just a trailing comma that makes it >continuation. From Rexx's perspective: > Don't the blank lines ... >rc = function(arg1,, >

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Veryl Ellis
Yes, the SungardAS z/OS Floor System has OMVS running zFS file systems. Call or email me using the information in my signature tag. Thanks, S. Veryl Ellis | Senior Systems Engineer | IBM Z Systems – Technical Services Group | Sungard Availability Services 401 North Broad Street; 8th Floor;

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Phil Smith III
Steve Smith: >Take that array of tuples and put a pointer to it in the parm list. And >voila, you have only three parms, although two might be enough. The array >entries can be defined much more flexibly than trying to cram the >information into a list of addresses Sure, you could do

Re: Enhanced HOLDDATA site down?

2018-04-10 Thread Tom Conley
On 4/10/2018 4:59 PM, John Eells wrote: Pinnacle wrote: Trying to download FULL.BIN, and I keep getting Network Error.  Anybody else having problems with http://service.software.ibm.com/holdata/390holddata.html? It's working for me internally, but of course I'm on the other side of the IBM

Re: Enhanced HOLDDATA site down?

2018-04-10 Thread John Eells
Pinnacle wrote: Trying to download FULL.BIN, and I keep getting Network Error. Anybody else having problems with http://service.software.ibm.com/holdata/390holddata.html? It's working for me internally, but of course I'm on the other side of the IBM firewall. -- John Eells IBM

Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread Tom Marchant
On Tue, 10 Apr 2018 11:43:51 -0500, Dana Mitchell wrote: >Can anyone else find the US announcement yet? I see it now. http://www-01.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_ca/8/897/ENUS118-018/index.html=en_locale=en -- Tom Marchant

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Steve Smith
Take that array of tuples and put a pointer to it in the parm list. And voila, you have only three parms, although two might be enough. The array entries can be defined much more flexibly than trying to cram the information into a list of addresses. sas​

Enhanced HOLDDATA site down?

2018-04-10 Thread Pinnacle
Trying to download FULL.BIN, and I keep getting Network Error.  Anybody else having problems with http://service.software.ibm.com/holdata/390holddata.html? Regards, Tom Conley -- -- For IBM-MAIN subscribe / signoff /

Re: Dummy question on VSAM multivolume

2018-04-10 Thread Lizette Koehler
- Ok This is one of my buttons PRI = 1000 SEC = 500 The best practice in todays storage arena, is to allocate the small on Primary and Large on Secondary Why - because the primary allocation can take away for the number of secondary allocations that can be made Because the Primary

Re: IBM ZD

2018-04-10 Thread ITschak Mugzach
Afaik zd is same as zPDT. If so, it is an operational system. Just follow the redbooks. ITschak בתאריך יום ג׳, 10 באפר׳ 2018, 22:36, מאת Jousma, David ‏< 01a0403c5dc1-dmarc-requ...@listserv.ua.edu>: > So, I finally got around to downloading the presentation that Skip > mentioned here and

Re: IBM ZD

2018-04-10 Thread Jousma, David
So, I finally got around to downloading the presentation that Skip mentioned here and took a peek. Looks similar to the dog and pony that IBM gave to us. My architects keep pounding on me that they just want to use the IBM supplied vanilla copy of the z/OS image, and the DB2 that comes with

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Phil Smith III
Elardus Engelbrecht wrote: >It depends on the compiler of whatever language or underlying REXX interpreter environment like TSO. Can that many tuplets be handled/passed on to a function/subroutine? Sure, and we hit the PL/I compiler limit of 384 arguments (there is a flavor that has two

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Elardus Engelbrecht
Phil Smith III wrote: >The tuplecount is the number of these triplets, and the elementcount is the >number of things in each datan. You can have up to 100 of these tuples. It depends on the compiler of whatever language or underlying REXX interpreter environment like TSO. Can that many tuplets

Re: Dummy question on VSAM multivolume

2018-04-10 Thread Mike Schwab
59. No relation to the actual number of available volumes. One of the SMS classes allows you to set VOLCNT for that class. On Tue, Apr 10, 2018 at 1:18 PM, Peter wrote: > Thanks so what is the maximum volume count permissible for VSAM ? > > Can we add more volcount even if

Re: Dummy question on VSAM multivolume

2018-04-10 Thread Peter
Thanks so what is the maximum volume count permissible for VSAM ? Can we add more volcount even if the number of volumes are less today and later once we add more volume to the pool it synchronised with volcount ? On Tue 10 Apr, 2018, 11:43 PM John McKown, wrote:

Re: Dummy question on VSAM multivolume

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 1:00 PM, Peter wrote: > Hi John > > Thanks hope the addvol goes same with index components as well. > ​Yes, it does.​ > > Hope a backup is always a safe idea too before adding volume count ? > ​Never hurts to take a backup before doing something

AW: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Mike Beer
You could also provide data as XML or JSON objects - which is just a string input for a REXX function. No matter of theology - just what kind of data you have and what makes sense. Best regards Mike -Ursprüngliche Nachricht- Von: IBM Mainframe Discussion List

Re: Dummy question on VSAM multivolume

2018-04-10 Thread Peter
Hi John Thanks hope the addvol goes same with index components as well. Hope a backup is always a safe idea too before adding volume count ? On Tue 10 Apr, 2018, 11:22 PM John McKown, wrote: > On Tue, Apr 10, 2018 at 12:48 PM, Peter wrote:

Re: Dummy question on VSAM multivolume

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 12:48 PM, Peter wrote: > Hi > > I have defined a KSDS with primary 1000 and secondary 500 with the extended > addressability. > > It got created as multivolume with 2 volcount. > > Can I alter volume count ? > ​Something like: ALTER cluster.DATA

Dummy question on VSAM multivolume

2018-04-10 Thread Peter
Hi I have defined a KSDS with primary 1000 and secondary 500 with the extended addressability. It got created as multivolume with 2 volcount. Can I alter volume count ? Peter -- For IBM-MAIN subscribe / signoff / archive

Re: Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Charles Mills
I don't think there is a theological boundary: 7 arguments good, 8 arguments bad. Your example strikes me as pretty clear. OTOH Myfunc(true, true, false, true, false, false) is probably a bug waiting to happen, and it has only six arguments. Charles -Original Message- From: IBM

Re: Many arguments to a Rexx function call

2018-04-10 Thread Seymour J Metz
That depends on how you invoke the code. If you invoke it from JCL or a Unix shell, there is only one argument. If you invoke it with a REXX call or function invocation, then it can have up to 20. I don't recall any context in which there is a 255 character limit, but if you use the PARM

Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread Dana Mitchell
Can anyone else find the US announcement yet? I haven't gotten the weekly iNews IBM announcements email yet. and if I google and try to access US - IBM z14 Model ZR1 Published: 10 Apr, 2018 | Document Number: 3907-+01 It seems to have gone 404... There is a redbook technical introduction

Re: Many arguments to a Rexx function call

2018-04-10 Thread Jeremy Nicoll
On Tue, 10 Apr 2018, at 11:53, Jantje. wrote: > I am using now a different separator character (one I am rather sure > will never occur in the value of the arguments to pass), glueing all > arguments together into one and parsing them back out in the invoked > function. That does the trick. A

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 11:00 AM, Donald J wrote: > When the disaster hits, you may not be one of the survivors. > So plan needs to be prepared and ready in advance such that > any admin could execute it. > ​Yes, that is what I am in the process of doing. But I need to develop

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 11:23 AM, Seymour J Metz wrote: > I suggest that you check with SG as to what access your application and > userid need, e.g., does your application require su? > ​It does not need any special UNIX or RACF authorities. It uses the standard z/OS interfaces

Theology (was: Many arguments to a Rexx function call)

2018-04-10 Thread Phil Smith III
David Crayford: >If the code doesn't have to be supported by a human then you might be right. >If it does then nope! Code that is generated by a program is usually the >output of a compiler that generates object code that we generally don't >care about until we need to debug it. If a program

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Seymour J Metz
I suggest that you check with SG as to what access your application and userid need, e.g., does your application require su? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Donald J
When the disaster hits, you may not be one of the survivors. So plan needs to be prepared and ready in advance such that any admin could execute it. For us, Sungard labels the floor volumes as SG. A VM guest definition should be provided to you in advance with dasd definitions such as: * *

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 8:51 AM, John McKown wrote: > Yes, I know that I should ask Sungard this question. But I must work > through our D.R. Coordinator (in-house) who is being a bit obstinate about > asking. > > I have an in-house written UNIX program. The reason

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 9:34 AM, Allan Staller wrote: > I can confirm TCP/IP runs on the floor system > ​Thanks! That makes things a bit easier on me.​ -- We all have skeletons in our closet. Mine are so old, they have osteoporosis. Maranatha! <>< John McKown

Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread Parwez Hamid
There are 2 models/ The ZR1 for the traditional OSes and the LinuxOne Model LR1. Details of ZR1 M/T 3907 Designed in a 19" Rack, air cooled Non-raised floor support Top Exit and/or Bottom Exit Cabling features PDU based power Processor Units (PUs) – Feature driven – 6 CPs max, rest can be zIIPs,

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Allan Staller
I can confirm TCP/IP runs on the floor system -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Tuesday, April 10, 2018 9:21 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Sungard question - floor z/OS supports UNIX

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
On Tue, Apr 10, 2018 at 9:12 AM, Charles Mills wrote: > UNIX System Services is a core part of z/OS. If it is z/OS, then USS is > there. They are inseparable. If the system runs TCP/IP, then USS is running. > ​I am fairly sure that they do have TCPIP running on the floor

Re: Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread Charles Mills
UNIX System Services is a core part of z/OS. If it is z/OS, then USS is there. They are inseparable. If the system runs TCP/IP, then USS is running. Might Sungard by tying off the UNIX shell in some way? I suppose it is conceivable. Charles -Original Message- From: IBM Mainframe

Re: Many arguments to a Rexx function call

2018-04-10 Thread David Crayford
On 10/04/2018 9:42 PM, Paul Gilmartin wrote: On Tue, 10 Apr 2018 09:16:52 +0800, David Crayford wrote: And 20 arguments is still wildly excessive. It's long been accepted that any more than 7 arguments are difficult to comprehend and an alternative design should be implemented. If the code is

Re: Infoprint, Extended Mode, and Old Style Translation

2018-04-10 Thread Carmen Vitullo
Good luck Anne, I had a syncsort sample also but I can't seem to find it :( Carmen Vitullo - Original Message - From: "Anne Adams (DTI)" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Tuesday, April 10, 2018 8:50:03 AM Subject: Re: Infoprint, Extended Mode, and Old

Sungard question - floor z/OS supports UNIX environment?

2018-04-10 Thread John McKown
Yes, I know that I should ask Sungard this question. But I must work through our D.R. Coordinator (in-house) who is being a bit obstinate about asking. I have an in-house written UNIX program. The reason I say that it is UNIX is because it is designed to be run from the UNIX shell and writes its

Re: Infoprint, Extended Mode, and Old Style Translation

2018-04-10 Thread Adams, Anne (DTI)
Thanks Carmen. I'll give it a try. Anne R. Adams, CISSP DTI, Systems Engineering Lead Mainframe Services Analyst 302.739.9500 We support the mainframe, it just works. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Carmen Vitullo Sent:

Re: Infoprint, Extended Mode, and Old Style Translation

2018-04-10 Thread Carmen Vitullo
Hi Anne, maybe a XLAT table? look in the TCPIP.SEZATCPX library for an XLAT TABLE - copy to a private library update as required convxlat '.srce.cntl(ftpate)' AMQP.TCPSCBIN tables are in TCPIP.SEZATCPX we did this years ago to help in a conversion project that unloaded some DB2

Re: Many arguments to a Rexx function call

2018-04-10 Thread Paul Gilmartin
On Tue, 10 Apr 2018 09:16:52 +0800, David Crayford wrote: > >And 20 arguments is still wildly excessive. It's long been accepted that >any more than 7 arguments are difficult to comprehend and an alternative >design should be implemented. > If the code is generated by a program, that's not a

Re: Many arguments to a Rexx function call

2018-04-10 Thread Phil Smith III
Yes, a better error message sure would be nice. Surprising, Rexx is usually better about such things! ISTR that even PL/I gives a coherent message if you hit its maximum. (384-yes, that's too many, although we hit it in a pathological case, where we were passing tuples of three or four things

Re: Many arguments to a Rexx function call

2018-04-10 Thread zMan
Well...not sure how you searched, but "rexx maximum arguments" finds it pretty quickly, albeit not as fast as "rexx 20 arguments" (of course, once you know the answer already...) On Tue, Apr 10, 2018 at 6:28 AM, Jantje. wrote: > On Mon, 9 Apr 2018 09:19:19 -0700, Gerhard

Re: Any C++ regex template class gotchas?

2018-04-10 Thread Charles Mills
That fixed it. Thanks, Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Tuesday, April 10, 2018 8:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Any C++ regex template class gotchas? It seems that you

Infoprint, Extended Mode, and Old Style Translation

2018-04-10 Thread Adams, Anne (DTI)
Hello friends, The Subject Line pretty much sums up the question. We're converting our printers to Infopint Extended mode and discovered that our programs send a ‘¢1B¢’ for the ESC character. It should be x'1B'. It appears that in the past under Basic mode the ‘¢' was ignored or used as a

Re: Any C++ regex template class gotchas?

2018-04-10 Thread David Crayford
It seems that you don't have extended0x defined as regex_p is defaulting to an integer. On 10/04/2018 6:26 PM, Charles Mills wrote: Auto seems to have some sort of limitations auto regex_p = new std::tr1::regex("foo", flags); "/u/xx/FEB2018/Source/SANDBOX.C", line 27.20: CCN5257

Re: IBMVSM,ZOSMIGV2R3_NEXT_VSM_USERKEYCOMM

2018-04-10 Thread Peter Relson
If you can use the SLIP trap with A=TRACE that is mentioned in the APAR, then changing TRDATA=(STD,REGS) to TRDATA=(STD,REGS,0R?,+7) will, for the CADS event type, also capture the data space name. The extra 8 bytes won't have anything useful or identifiable for the other two cases. That's

Re: Many arguments to a Rexx function call

2018-04-10 Thread Gerhard Adam
I also wasn't aware of the limit until I tried it. Since the question raised involved continuation, I simply tried the function with fewer operands but including continuation. When that worked, it was simply a matter of adding the others in until it failed. Frankly, I came across the 20

Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread Gadi Ben-Avi
They should be available soon. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Tuesday, April 10, 2018 2:00 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models W dniu 2018-04-10

Re: IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread R.S.
W dniu 2018-04-10 o 12:06, Timothy Sipples pisze: IBM is announcing the ZR1 and LR1 single frame machines today, with an entirely new physical architecture. Here's a video introduction posted on YouTube: https://www.youtube.com/watch?v=F7jN5qKsXbc You can also find some interesting details in

Re: Many arguments to a Rexx function call

2018-04-10 Thread Jantje.
On Mon, 9 Apr 2018 14:31:18 -0700, Gerhard Adam wrote: >Just seems like a lot of discussion trying to pass 22 arguments, when the >limit is 20. > You're right. Only, as I was not aware of the existence of that limit... >After that it's merely a question of how you can

Re: Many arguments to a Rexx function call

2018-04-10 Thread Jantje.
On Mon, 9 Apr 2018 16:40:22 -0400, Phil Smith III wrote: >Eh? You invoke ALERTSN. But do so apparently incorrectly. Actually, I try to invoke ALERTSN, but it does not get invoked. > >What does TRACE I show? Exactly that: it shows the invocation being tempted and failing.

Re: Many arguments to a Rexx function call

2018-04-10 Thread Jantje.
On Mon, 9 Apr 2018 14:25:28 -0500, Paul Gilmartin wrote: >Correct, however the current version, TSO/E REXX User's Guide Version 2 >Release 3 >(SA32-0982-30), says in the preceding paragraph: > >Passing Arguments >Values passed to an exec are usually called arguments.

Re: Any C++ regex template class gotchas?

2018-04-10 Thread Charles Mills
Initializing in the constructor no help: std::tr1::regex *regex_p = new std::tr1::regex("foo", flags); // here we would use the regex delete regex_p; CEE3204S The system detected a protection exception (System Completion Code=0C4). From

Re: Many arguments to a Rexx function call

2018-04-10 Thread Jantje.
On Mon, 9 Apr 2018 09:19:19 -0700, Gerhard Adam wrote: >Normal continuation rules would apply, but it appears that there is a limit >of 20 arguments. You have 22, which produces the error I would be very grateful if you could point me to the documentation that confirms

Re: Any C++ regex template class gotchas?

2018-04-10 Thread Charles Mills
Auto seems to have some sort of limitations auto regex_p = new std::tr1::regex("foo", flags); "/u/xx/FEB2018/Source/SANDBOX.C", line 27.20: CCN5257 (S) An object or reference of type "int" cannot be initialized with an expression of type

IBM Introduces IBM z14 ZR1 and Rockhopper II Models

2018-04-10 Thread Timothy Sipples
IBM is announcing the ZR1 and LR1 single frame machines today, with an entirely new physical architecture. Here's a video introduction posted on YouTube: https://www.youtube.com/watch?v=F7jN5qKsXbc You can also find some interesting details in my blog post here:

Re: Many arguments to a Rexx function call

2018-04-10 Thread Ward Able, Grant
I just looked in the REXX Reference manual and found this (which I did not know before!): There can be up to an implementation-defined maximum number of expressions, separated by commas, between the parentheses. In TSO/E, the implementation maximum is up to 20 expressions. Regards – Grant