Installing z/os in new mainframe from scratch

2014-03-27 Thread Mohamed Juma
Dear list, What is the recommended way to install z/os from scratch to a new data center, includes new hardware z machine, DASD, tape system. King regards, Mohamed juma -- For IBM-MAIN subscribe / signoff / archive access instr

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Dave Kreiss
> On Mar 27, 2014, at 6:44 PM, Charles Mills wrote: > > I have no idea how a particular C compiler would behave but I think the > problem is that any time you do anything resembling > > void *foo; > int bar = (int)foo; > > then what you get is what you get. We all know that a 32-bit address and

Re: Clist character string compare

2014-03-27 Thread Skip Robinson
I wish OP would take a step back and consider why this process must be a CLIST. As a newbie many years ago, I spent inordinate hours mastering CLIST. I became adept at the double/quadruple ampersand and other kludges necessary to make acrobatic string manipulations work as desired. After Rexx a

Re: Compiler error in z/OS C compiler

2014-03-27 Thread David Crayford
On 28/03/2014 1:05 AM, Thomas David Rivers wrote: The IBM compiler could be misapplying range optimizations, assuming that a 31-pointer is in the range [0x0 .. 0x7fff] and therefor could never be equal to 0xff00... but, that would be quite a stretch. If they are doing this, I can bet your

Re: XMLSS performance vs COBOL 4.1 runtime XML

2014-03-27 Thread Shane Ginnane
On Thu, 27 Mar 2014 16:56:21 -0700, Tom Ross wrote: >Interesting, I am not sure what 'kneecapped' is, but I suppose your engines >are slowed down by getting a discount on price or something? When that >happens we don't do the same for the specialty processors? There is a long and tortuous story

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Bernd Oppolzer
Am 28.03.2014 02:41, schrieb Sam Siegel: Enclose memcmp in parenthesis, (memcmp)(...), to force the compile to generate code which calls memcmp instead of generating inline code. This was the workaround I found for the original problem, and it worked perfectly; I like the memcmp being impleme

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Bernd Oppolzer
That looks good and indeed more naturally to me, I will give it a try ... tomorrow. Thank you. Bernd Am 28.03.2014 00:44, schrieb Charles Mills: I wonder, what if the OP reversed the casting and instead coded if ( ptr == (void *)0xff00 ) ... Is that legal? (Can you cast a constant to a

Re: XMLSS performance vs COBOL 4.1 runtime XML

2014-03-27 Thread Joel C. Ewing
On 03/27/2014 06:56 PM, Tom Ross wrote: >> Tom, =20 >> >> I have a question on your comment about offloading XML to specialty engines >> . To quote: >> >> >>> Also, offloading to specialty processors does not change total CPU usage, >>> and does not improve performance or throughput. It could cha

Re: Clist character string compare

2014-03-27 Thread CM Poncelet
Have you tried coding: SET JOBCARD = &STR(&SUBSTR(2:10,&NRSTR(&INPUT)))? BTW Are you also sure that '//JOBCARD' starts in column 2 (i.e. at offset 1)? Otherwise change your code to something like: A1: GETFILE INPUT SET B= &SYSINDEX(&STR(//JOBCARD),&NRSTR(&INPUT),1) IF &B > 0 THEN DO SET JOB

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Sam Siegel
On Thu, Mar 27, 2014 at 12:31 PM, Bernd Oppolzer wrote: > Thank you all for your valuable suggestions. > > The compiler is z/OS XL/C V1.13 and V1.11 - > well, in fact, I didn't test it with the 1.11. version. > I observed the problem on the site with the 1.13 version. > > This is part of the PL/1

Re: Clist character string compare

2014-03-27 Thread Micheal Butz
Thanks Sent from my iPhone > On Mar 27, 2014, at 9:25 PM, Lizette Koehler wrote: > > I would turn on CLIST tracing functions > > CONTROL LIST SYMLIST CONLIST MSG NOFLUSH > > > It should show you your vars and the tests. > > Lizette > > >> -Original Message- >> From: IBM Mainframe

Re: Clist character string compare

2014-03-27 Thread Lizette Koehler
I would turn on CLIST tracing functions CONTROL LIST SYMLIST CONLIST MSG NOFLUSH It should show you your vars and the tests. Lizette > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Micheal Butz > Sent: Thursday, March 27, 201

Clist character string compare

2014-03-27 Thread Micheal Butz
Hi I cann't seem to get equal looking for a character string in the input file I know that the job card is somewhere in the middle of the file So here is the code A1: GETFILE INPUT SET JOBCARD = &STR(&SUBSTR(2:10) If JOBCARD = &STR(//JOBCARD) Then write got it GOTO A1 I do writes and see the ch

Re: Clist file I/O

2014-03-27 Thread Micheal Butz
Thanks I got one more I'll start a new thread Sent from my iPhone > On Mar 27, 2014, at 8:10 PM, Scott Ford wrote: > > Micheal: > > > When your second clist want to read the file(data) , allocate the file as > disp=old… > > it works when you have it …. > > > Regards, > > Scott > > ww

Re: XMLSS performance vs COBOL 4.1 runtime XML

2014-03-27 Thread Tom Ross
>Tom, =20 > >I have a question on your comment about offloading XML to specialty engines >. To quote: > > >>Also, offloading to specialty processors does not change total CPU usage, >>and does not improve performance or throughput. It could change >>how much you pay to run it. > > >My standard en

Re: The IBM Strategy

2014-03-27 Thread Scott Ford
Frank, Amen, sales talk …talking the talk not walking the walk Regards, Scott From: Frank Swarbrick Sent: ‎Wednesday‎, ‎March‎ ‎26‎, ‎2014 ‎6‎:‎54‎ ‎PM To: IBM Mainframe Discussion List Meaningless nonsense buzzwords. > > From: Anne & Lynn Wheele

Re: The IBM Strategy

2014-03-27 Thread Scott Ford
John: That's how I got into Systems Programming -> Network Engineering -> Development. No regrets … Regards, Scott From: John Gilmore Sent: ‎Thursday‎, ‎March‎ ‎27‎, ‎2014 ‎7‎:‎22‎ ‎PM To: IBM Mainframe Discussion List Who needs|will need IT pros? Anxiety about this is misplaced.

Re: Clist file I/O

2014-03-27 Thread Scott Ford
Micheal: When your second clist want to read the file(data) , allocate the file as disp=old… it works when you have it …. Regards, Scott www.identityforge.com & www.idmworks.com From: Micheal Butz Sent: ‎Thursday‎, ‎March‎ ‎27‎, ‎2014 ‎7‎:‎13‎ ‎PM To: IBM Mainframe Discussion List

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Charles Mills
I have no idea how a particular C compiler would behave but I think the problem is that any time you do anything resembling void *foo; int bar = (int)foo; then what you get is what you get. We all know that a 32-bit address and a 32-bit integer are the same thing to the z architecture, but to the

Support for AMODE 24 added to Enterprise COBOL for z/OS V5.1.1

2014-03-27 Thread Frank Swarbrick
Of interest for those who have no upgraded to COBOL 5.1 because they could no longer call 24-bit assembler modules: http://www-01.ibm.com/support/docview.wss?uid=swg21667752 -- For IBM-MAIN subscribe / signoff / archive access i

Re: The IBM Strategy

2014-03-27 Thread John Gilmore
Who needs|will need IT pros? Anxiety about this is misplaced. Circa 1910 an automobile trip from Boston to Philadelphia, London to Birmingham, or Paris to Lyon was a high adventure that usually ended badly. There was no infrastructure in place for such undertakings, and the skills required to su

Re: Clist file I/O

2014-03-27 Thread Micheal Butz
I think the I/O is not complete Until the clist finishes executing So Have one clist Ex clist a > write ex clist b ---> read Sent from my iPhone > On Mar 27, 2014, at 6:09 PM, Micheal Butz wrote: > > Hi, > > I am writting and reading from the same file in a clist > > In the first part

Re: Compiler error in z/OS C compiler

2014-03-27 Thread David Crayford
I wonder if C99 intptr_t and uintptr_t would solve the problem. > On 28 Mar 2014, at 6:42 am, Charles Mills wrote: > > https://www.securecoding.cert.org/confluence/display/seccode/INT36-C.+Conver > ting+a+pointer+to+integer+or+integer+to+pointer ---

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Charles Mills
Is that applicable? His variable may be named ptr and it may ultimately be a pointer but he never uses it as a pointer in his C code; that is, he never dereferences it. Is not the problem that unsigned int ppli = (unsigned int) ptr; is implementation-defined (in other words, may not work)? https:

Re: Compiler error in z/OS C compiler

2014-03-27 Thread David Crayford
https://www.ibm.com/developerworks/community/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/ab_use_of_the_ansi_c_aliasing_rules?lang=en > On 27 Mar 2014, at 11:51 pm, Bernd Oppolzer > wrote: > > Hello mainframe C users, > > today I observed an error in the C compiler, > which made me think a

Clist file I/O

2014-03-27 Thread Micheal Butz
Hi, I am writting and reading from the same file in a clist In the first part of the clist There is a BMC program CTMAES That writes to where staprint is allocated to When this program completes I try reading it I do not get a error opening it however on the first read I get an end of file co

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Bernd Oppolzer
static function, because the function is only of local interest and should not be visible to the linkage editor (that's the way to do this in C - they saved keywords - that's a sad story; external functions are "static", too. It would be much better, if there was a keyword "local" to express the s

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Bernd Oppolzer
Thank you all for your valuable suggestions. The compiler is z/OS XL/C V1.13 and V1.11 - well, in fact, I didn't test it with the 1.11. version. I observed the problem on the site with the 1.13 version. This is part of the PL/1 interface for my XML parser. I had to do a rollout today on three di

Re: Finding where an APPL exists on a network

2014-03-27 Thread Nathan J Pfister
Ah-ha...that helped, the d net,rsclist,id=*.applmask got what I was looking for. Found where it was, it was a straggler from long long ago...not sure how it still existed. Thanks! Thanks; Nathan Pfister zOS Systems Programmer AES\PHEAA - Tech Services npfis...@aessuccess.org (717) 720-2663

Re: The IBM Strategy

2014-03-27 Thread Thomas Berg
> -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of John Gilmore > Sent: Thursday, March 27, 2014 2:48 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: The IBM Strategy > > Frank Swarbrick wrote: > > | Meaningless nonsense buzzwords.

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Thomas David Rivers
Bernd Oppolzer wrote: Hello mainframe C users, That looks as if the compiler guessed that the condition (ppli == 0xff00u) can never be true. But because ppli is an unsigned int, and int has size 32, of course it can (and it does, as we can see in the case when printf is present). The va

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Charles Mills
I *think* the C standard basically says that you do integer arithmetic (that would include compares) on pointers at your own peril. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Thursday, March 27,

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Charles Mills
I was afraid this was going to turn into a religious war over keys, which was not the question I asked. > what's the REAL problem THAT YOU ARE HAVING In my mind, and my experience as both a mainframe software designer and as the former CEO of a mainframe software company, the number one real prob

Re: Compiler error in z/OS C compiler

2014-03-27 Thread John McKown
I just tried without optimization and did a -W c,LIST to get the assembler. It looks like unoptimized will work because all the code is there (even without the -DCOMPERR argument) On Thu, Mar 27, 2014 at 11:26 AM, Farley, Peter x23353 < peter.far...@broadridge.com> wrote: > Perhaps turn off opti

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Farley, Peter x23353
Perhaps turn off optimization and see what the "raw" compiler produces? That may provide a hint to a solution, or it may just leave the function to do what you want and you will have accomplished your task. BTW, why a "static" function? Could that be affecting the way the compiler optimizatio

Re: Compiler error in z/OS C compiler

2014-03-27 Thread John McKown
Sorry, I missed that you already did that. On Thu, Mar 27, 2014 at 11:05 AM, John McKown wrote: > On Thu, Mar 27, 2014 at 10:51 AM, Bernd Oppolzer < > bernd.oppol...@t-online.de> wrote: > >> Hello mainframe C users, >> >> today I observed an error in the C compiler, >> which made me think again

Re: Compiler error in z/OS C compiler

2014-03-27 Thread John McKown
On Thu, Mar 27, 2014 at 10:51 AM, Bernd Oppolzer wrote: > Hello mainframe C users, > > today I observed an error in the C compiler, > which made me think again about the optimization strategy > of the z/OS C compiler. > > I wrote a small C function; the purpose was to translate > pointer values c

Compiler error in z/OS C compiler

2014-03-27 Thread Bernd Oppolzer
Hello mainframe C users, today I observed an error in the C compiler, which made me think again about the optimization strategy of the z/OS C compiler. I wrote a small C function; the purpose was to translate pointer values coming from PL/1 modules from NULL() values - PL/1 builtin NULL() yields

Re: The IBM Strategy

2014-03-27 Thread Anne & Lynn Wheeler
l...@garlic.com (Anne & Lynn Wheeler) writes: > 02: We are remaking enterprise IT for the era of cloud re: http://www.garlic.com/~lynn/2014d.html#106 The IBM Strategy Attack of the killer clouds and the coming IT storm http://www.infoworld.com/t/cringely/attack-of-the-killer-clouds-and-the-coming

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread R.S.
W dniu 2014-03-27 15:37, Mark Jacobs pisze: Speaking for myself only, I agree 100% with Phil. I HATE with a passion mainframe vendor software with license keys, codes, all the myriad ways they use to make my life difficult, adds work to my team, and puts my company at risk if a vital piece of o

Re: Finding where an APPL exists on a network

2014-03-27 Thread Mike Wawiorko
If it is an APPN network use D NET,DIRECTRY at your network nodes. If you've a Central Directory Server start there. 08880009, which tells you that it's a conflicting name, sounds like you've two LUs (APPLs) with the same name somewhere in your network. Use the MVS ROUTE *ALL command (in each

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread John McKown
A bit OT for this, but I buy e-books (PDF) from a publisher who has some really good stuff. It is not DRM'ed. But what the publisher does is take my order on the Web. And I must pay for it with a credit card. No big deal. But that means that he knows my name. A short time later, I get an email with

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Phil Smith
Steve Comstock wrote: >Also, what about the shop that tries to locate the >end date and zap it? You may say it doesn't happen >but I have heard tales... OK, I know this is going to turn into a religious issue, but here's my $0.02. In 30+ years I've never seen this. I've seen ONE case where a cust

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Mark Jacobs
Speaking for myself only, I agree 100% with Phil. I HATE with a passion mainframe vendor software with license keys, codes, all the myriad ways they use to make my life difficult, adds work to my team, and puts my company at risk if a vital piece of our infrastructure fails for licensing proble

Re: Metal C vs. HLASM - for C callable subroutine?

2014-03-27 Thread Kirk Wolf
On Wed, Mar 26, 2014 at 11:03 PM, David Crayford wrote: > ... > We use the same technique. Grrr, __malloc31(), __malloc24() only supported > in AMODE(64)! How brain damaged is that? No kidding! And you can't call CEEGTST from your 64-bit code to get 24-bit storage, since CEEGTST only allocates

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Elardus Engelbrecht
John McKown wrote: >I don't know if the Binder API can do a "load and go" like this or not. It can. You can invoke Binder from a program using ATTACH EP=IEWBLDGO and LOAD EP=IEWBLDGO. SubCapacity job does that similar thing. You use EXEC PGM=LOADER with your list of software used and a SYSLIN

Re: Finding where an APPL exists on a network

2014-03-27 Thread Lizette Koehler
Have you done a display? Can you post the results? When you activate, can you post all of the IST messages? D NET,ID=xx,E SYSLOG will/should have your IST messages Lizette > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf

Finding where an APPL exists on a network

2014-03-27 Thread Nathan J Pfister
Sorry if this is another simple question. I've been looking through the VTAM manuals and am trying to figure out how I can tell where an APPL exists on an EE network. I'm relatively new to VTAM, so I am learning as I go here...and we've moved an APPL from one system to another, but I can't co

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread John McKown
On Thu, Mar 27, 2014 at 12:38 AM, Ed Jaffe wrote: > On 3/26/2014 9:20 AM, Charles Mills wrote: > >> Right. Good input. Thanks. I have shipped software with a hard-coded >> expiration date. What I am looking for is a "floating" expiration date >> that >> would be 30 days after installation, whether

Re: JFCB LBI Blocksize

2014-03-27 Thread Tom Marchant
On Wed, 26 Mar 2014 16:19:54 -0500, Chris Cantrell wrote: > how do I get to the SIOTX for my DD while running the program which has the > DD allocated? From the description of IEFSIOTX in Data Areas: Pointed to by:- DSABXSVA field (SVA token) of the DSAB data area

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Elardus Engelbrecht
Steve Comstock wrote: >Also, what about the shop that tries to locate the end date and zap it? You >may say it doesn't happen but I have heard tales... True. I also heard it via grapevine. Some software does integrity checks [CRC check?] on that date to prevent zapping. Rather, you can replace

Re: Ever see "automatic" 30-day trials for mainframe software?

2014-03-27 Thread Steve Comstock
On 3/26/2014 11:38 PM, Ed Jaffe wrote: On 3/26/2014 9:20 AM, Charles Mills wrote: Right. Good input. Thanks. I have shipped software with a hard-coded expiration date. What I am looking for is a "floating" expiration date that would be 30 days after installation, whether installed today or a yea