Re: multi-line STDPARM shell script for BPXBATCH

2019-10-29 Thread David Crayford
On 2019-10-30 4:45 AM, Paul Gilmartin wrote: On 2019-10-07 2:06 AM, Jon Perryman wrote: I'm saying that IBM can't fix this problem because the problem lies with Unix shell design. IBM can and have fixed the problem! BPXBATCH is so bad they wrote a replacement AOPBATCH which works just as Kirk

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joe Monk
So according to: "20 The routine_name contains only blanks and the routine_entry was zero. The PreInit table was not updated." https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ceeam00/ceeam141.htm Joe On Mon, Oct 28, 2019 at 8:55 PM Joseph Reichman wrote: > The

Re: CPACF for TN3270 encryption

2019-10-29 Thread ITschak Mugzach
Yes, if you use the policy agent (PAGENT). ITschak On Tue, Oct 29, 2019 at 11:03 AM Jake Anderson wrote: > Hi > > Is it possible to encrypt TN3270 connectivity using CPACF ? > > Just trying to understand its functionality and has anyone tried this > functionality implementated for TN3270

Re: CPACF for TN3270 encryption

2019-10-29 Thread Michael Babcock
We use Rockets’s Bluezone for our 3270 emulator and all 3270 traffic uses TLS 1.2 via IBM’s policy agent. On Tue, Oct 29, 2019 at 4:03 AM Jake Anderson wrote: > Hi > > Is it possible to encrypt TN3270 connectivity using CPACF ? > > Just trying to understand its functionality and has anyone

Re: [EXT] Re: zOS 2.4 migration guide

2019-10-29 Thread Jousma, David
Brian, Thanks for pointing that out. Wondering why IBM couldn’t have designed some automated method to determine if the KCindex needs to be rebuilt or not? Now the issue will be to remember to let it rebuild after a maintenance cycle? Or z/OS release change? How will I know when it

Re: CPACF for TN3270 encryption

2019-10-29 Thread Michael Babcock
I can’t say I’m 100% sure but highly suspect it does. We don’t have our crypto express cards configured yet so I know it’s not using them. On Tue, Oct 29, 2019 at 4:44 AM Jake Anderson wrote: > "We use Rockets’s Bluezone for our 3270 emulator and all 3270 traffic uses > TLS 1.2 via IBM’s

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread David Crayford
Why do you need a DLL? Can you just use PIPI to call a static program? On 2019-10-29 8:15 PM, Joseph Reichman wrote: This is add_entry I was using INIT_SUB, INIT_MAIN regardless that’s a good idea to try to use add_entry After init_sub/MAIN This is the program I trying to initiate as in

CPACF for TN3270 encryption

2019-10-29 Thread Jake Anderson
Hi Is it possible to encrypt TN3270 connectivity using CPACF ? Just trying to understand its functionality and has anyone tried this functionality implementated for TN3270 connectivity. Jake -- For IBM-MAIN subscribe / signoff

Re: CPACF for TN3270 encryption

2019-10-29 Thread Mike Wawiorko
Try this aging SHARE presentation from 2014. You'll probably find a more recent one if your search the web or SHARE. https://share.confex.com/share/123/webprogram/Handout/Session15660/SharePittsburgh15660_Aug2014_System_SSL_And_Crypto.pdf Mike Wawiorko   This e-mail and any attachments are

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
This is add_entry I was using INIT_SUB, INIT_MAIN regardless that’s a good idea to try to use add_entry After init_sub/MAIN This is the program I trying to initiate as in Assembler LE 64 bit prolog CELQPRLG does not have a main and I cannot call a 64 C DLL I was thinking CELQPIPI would resolve

Re: CPACF for TN3270 encryption

2019-10-29 Thread Jake Anderson
"We use Rockets’s Bluezone for our 3270 emulator and all 3270 traffic uses TLS 1.2 via IBM’s policy agent" All its workload goes to CPACF ? On Tue, 29 Oct, 2019, 1:42 PM Michael Babcock, wrote: > We use Rockets’s Bluezone for our 3270 emulator and all 3270 traffic uses > TLS 1.2 via IBM’s

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
I guess I could do a series of calls to the exports things is they all share a global area Thanks On Oct 29, 2019, at 8:47 AM, David Crayford wrote: > > Why do you need a DLL? Can you just use PIPI to call a static program? > >> On 2019-10-29 8:15 PM, Joseph Reichman wrote: >> This is

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
I am trying to call a AMODE 64 bit C DLL (exported function) from assembler and because CELQPRLG (LE 64 bit prologue) doesn't support main like CEEENTRY (MAIN=YES) Cannt seem do it I thought the INIT_MAIN function for CELQPIPI would do the trick for me Thanks -Original Message-

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Steve Smith
OK, I don't follow; in particular, what do you mean by "jump"? In case it helps clarify, I am SORTing a DCOLLECT file, which for some reason, uses "kilobytes" for normal DASD, and "megabytes" for EAV. I came up with an INREC statement that fixes that, but I'd like to use the correct multiplier

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread scott Ford
Joe: What are you trying to accomplish exactly so we can better assist you ? Scott On Tue, Oct 29, 2019 at 8:52 AM Joseph Reichman wrote: > I guess I could do a series of calls to the exports things is they all > share a global area > > Thanks > > > On Oct 29, 2019, at 8:47 AM, David Crayford

Re: Best way for a task to give up the CPU and let other tasks run?

2019-10-29 Thread Jon Perryman
On Wed, 23 Oct 2019 18:23:31 +, Seymour J Metz wrote: >The Dispatcher has been using timers for decades. What interrupts your >code is an external event from a timer or from a SIGP on another CPU. >If you're running with appropriate goals, don't try to second guess WLM. I believe the OP

Re: CPACF for TN3270 encryption

2019-10-29 Thread Phil Smith III
Jake Anderson asked: >Is it possible to encrypt TN3270 connectivity using CPACF ? And then later added: >We got this feature along with our z14 so wanted to make use of this and am >not sure if PAGENT traffic can be offloaded to zIIP Just to be clear: CPACF is crypto in the chip (much

Can I INIT_MAIN a 64 bit CELQPRLG program to call 64 bit C DLL export

2019-10-29 Thread Joseph Reichman
In light of the recent posts Would anybody know if I can use INIT_MAIN using CELQPIPI to initialize a 64 bit CELQPRLG assembler which calls a 64 bit C DLL export Thanks -- For IBM-MAIN subscribe / signoff / archive access

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Mike Schwab
Jump in volume size. I wrote a program on a non-EAV sysplex that divided the capacity KB by 849.960 to get the number of cylinders. Had an off by 1 error at various sizes, so I added 1 to round up before dividing. On Tue, Oct 29, 2019 at 7:56 AM Steve Smith wrote: > > OK, I don't follow; in

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
Thanks Joe Reichman 170-10 73 rd ave Fresh meadows NY 11366 > On Oct 29, 2019, at 1:02 PM, scott Ford wrote: > > Joe, > > I have called it in Cobol . I thought there some pretty good examples in > the IBM Doc. > Let us know .. > > Scott > >> On Tue, Oct 29, 2019 at 11:50 AM Joseph

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread David Crayford
On 2019-10-29 11:50 PM, Joseph Reichman wrote: Peter thanks so much if I need a C main then this exercise in CELQPIPI is irrelevant We use CEEPIPI and don't use main. We use subroutines with the following (this is C++ code) #pragma linkage(FUWIPSTR, fetchable) // required for PIPI

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Mike Schwab
There are two archives. You search the old one. On Tue, Oct 29, 2019 at 7:56 AM Steve Smith wrote: > > OK, I don't follow; in particular, what do you mean by "jump"? > > In case it helps clarify, I am SORTing a DCOLLECT file, which for some > reason, uses "kilobytes" for normal DASD, and

Re: CPACF for TN3270 encryption

2019-10-29 Thread Jake Anderson
We got this feature along with our z14 so wanted to make use of this and am not sure if PAGENT traffic can be offloaded to zIIP On Tue, 29 Oct, 2019, 9:26 PM R.S., wrote: > Michael, > It's not so easy. > You use encrypted communication. That's what you know. > However you don't know what

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
Peter thanks so much if I need a C main then this exercise in CELQPIPI is irrelevant Now I need to figure out how to call a C main from non LE assembler as all of my code is that On Oct 29, 2019, at 11:45 AM, Farley, Peter x23353 wrote: > > Joe, > > From my somewhat limited experience

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Steve Smith
OK, after I found my old 3390 reference card, and doing the math, I proved that DCOLLECT is indeed using 2**10 to mean kilo- (and presumably 2**20 for mega-). I found a 3390-3 (I think) with 3,339 cylinders, and multiplied by 849,960 (bytes/cyl) and got 2838016440, which /1024 = 2771500.4296875.

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread scott Ford
Joe, I have called it in Cobol . I thought there some pretty good examples in the IBM Doc. Let us know .. Scott On Tue, Oct 29, 2019 at 11:50 AM Joseph Reichman wrote: > Peter thanks so much if I need a C main then this exercise in CELQPIPI is > irrelevant > > Now I need to figure out how to

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread scott Ford
Joe, I havent dont 64bit C ..but I would be surprised the guys here on the listserv havent . I understand 64bit in theory but working as a ISV my mgmt is stuck in the Cobol back woods. Scott On Tue, Oct 29, 2019 at 9:42 AM Joseph Reichman wrote: > I am trying to call a AMODE 64 bit C DLL

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
It was my understanding after a lot of digging that I couldn’t call 64 bit C from assembler because the 64 bit LE assembler prologue macro CELQPRLG doesn’t support main like CEEENTRY and there for the LE environment isn’t established I just thought that CELQPIPI would do that for assembler

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Paul Gilmartin
On Tue, 29 Oct 2019 11:58:00 -0400, Steve Smith wrote: >OK, after I found my old 3390 reference card, and doing the math, I proved >that DCOLLECT is indeed using 2**10 to mean kilo- (and presumably 2**20 for >mega-). I found a 3390-3 (I think) with 3,339 cylinders, and multiplied by >849,960

Re: DCOLLECT use of KB/MB

2019-10-29 Thread R.S.
W dniu 2019-10-29 o 17:58, Paul Gilmartin pisze: On Tue, 29 Oct 2019 11:58:00 -0400, Steve Smith wrote: OK, after I found my old 3390 reference card, and doing the math, I proved that DCOLLECT is indeed using 2**10 to mean kilo- (and presumably 2**20 for mega-). I found a 3390-3 (I think)

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Farley, Peter x23353
Joe, From my somewhat limited experience with CEEPIPI (only to enable 31-bit COBOL calls from 31-bit non-LE assembler subroutines called from 31-bit COBOL main), it looks to me like your 64-bit assembler code needs to set up a CEEPIPI INIT_SUB not an INIT_MAIN since you are calling the DLL as

Re: CPACF for TN3270 encryption

2019-10-29 Thread R.S.
Michael, It's not so easy. You use encrypted communication. That's what you know. However you don't know what hardware is used for enciphering/deciphering data. I'm rather sure that it is NOT CryptoExpress card (let's omit handshaking). Note, CPACF is not CryptoExpress. You can have CPACF and

Re: multi-line STDPARM shell script for BPXBATCH

2019-10-29 Thread Jon Perryman
On Sunday, October 6, 2019, 08:14:36 PM PDT, David Crayford wrote: >On 2019-10-07 2:06 AM, Jon Perryman wrote: >> I'm saying that IBM can't fix this problem because the problem lies with >> Unix shell design. > IBM can and have fixed the problem! BPXBATCH is so bad they wrote a

Re: multi-line STDPARM shell script for BPXBATCH

2019-10-29 Thread Paul Gilmartin
Welcome back. On Tue, 29 Oct 2019 20:21:07 +, Jon Perryman wrote: > >On Sunday, October 6, 2019, 08:14:36 PM PDT, David Crayford wrote: > > >On 2019-10-07 2:06 AM, Jon Perryman wrote: > >>> I'm saying that IBM can't fix this problem because the problem lies with >>> Unix shell

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Steve Smith
No, I do not. The old one is pre-2005. Aha... specifying a "since" date of 2016-01-01 gets me up to the present. It seems there's a hard limit of 100 hits, and it starts from the oldest. sas On Tue, Oct 29, 2019 at 2:53 PM Mike Schwab wrote: > There are two archives. You search the old one.

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread scott Ford
Yep, looking at the z/os xl c/c++ manuals there are examples of Hlasm calling C, You have to use XPLINK for 64bit and there are prologs and epilogs. Scott On Tue, Oct 29, 2019 at 2:22 PM David Crayford wrote: > On 2019-10-29 11:50 PM, Joseph Reichman wrote: > > Peter thanks so much if I need a

Re: Return code X'20' 32 from CELQPIPI INIT_MAIN

2019-10-29 Thread Joseph Reichman
I think the only scenario that would work from a non LE assembler is calling a main 64 bit C which would than call the 64 C DLL Joe Reichman 170-10 73 rd ave Fresh meadows NY 11366 > On Oct 29, 2019, at 7:38 PM, scott Ford wrote: > > Yep, looking at the z/os xl c/c++ manuals there are

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Edward Finnell
There the Titles and Author are listed 50 at a time. They are non-click-able but scroll down and the Titles and phrase containing the search string are visible. These are click-able and puts you in the Listserv hierarchy of message or author.     In a message dated 10/29/2019 6:41:18 PM

Re: DCOLLECT use of KB/MB

2019-10-29 Thread Edward Finnell
Dr. Merrill had the best roll-up I've seen, but don't remember which member it was. Maybe ANALDASD.  In a message dated 10/29/2019 9:46:22 PM Central Standard Time, r.skoru...@bremultibank.com.pl writes: Regarding DCOLLECT - I have no idea. :-)

WTO message at the end of JCL

2019-10-29 Thread Peter
Hi Is there a WTO module which can write a message (highlight message) on a console based on the JCL previous condition code? We do not a product to do it and just curious if there is a one in CBTTAPE.? Peter -- For IBM-MAIN

Re: Can I INIT_MAIN a 64 bit CELQPRLG program to call 64 bit C DLL export

2019-10-29 Thread David Crayford
Joe, You should know the answer to your question because it is clearly documented that you can https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.ceeam00/piniint.htm. This thread has been meandering on a bit. Why don't you just copy the example from the book which

Re: WTO message at the end of JCL

2019-10-29 Thread Mike Schwab
http://planetmvs.com/freeware/dampf08.txt WTO from exit. https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieab600/iea3b6_Determining_equivalent_JCL.htm //STEPWTO EXEC PGM=WTO,COND=(0,EQ),PARM='JOB RC NON ZERO' On Tue, Oct 29, 2019 at 11:23 PM Peter wrote: > > Hi >

Re: WTO message at the end of JCL

2019-10-29 Thread Peter
The message displayed by WTO just comes up but i want it to br displayed as a RED colour message with outstanding message number to suppress by operator. On Wed, 30 Oct, 2019, 8:47 AM Mike Schwab, wrote: > http://planetmvs.com/freeware/dampf08.txt > WTO from exit. > > >