Re: SYNCSORT Question: JFY a numeric field with leading zeroes?

2019-11-11 Thread Alan Young
One way I did it was using FINDREP= with STARTPOS and ENDPOS to change space to zero. You can make multiple passes on the output record with multiple IFTHEN=(WHEN=INIT statements - BUILD first then FINDREP or other manipulation after the build. If you have a more recent version that supports th

Re: Unix files

2019-11-11 Thread Rob Schramm
Honestly, doesn't this sound like log4(x) territory? Or syslogd type of stuff? Maybe i am missing something. Rob On Mon, Nov 11, 2019, 15:18 Pierre Fichaud wrote: > I had initially mentioned that more than 1 file could be generated by 1 > producer. There could also be more than 1 producer on th

SYNCSORT Question: JFY a numeric field with leading zeroes?

2019-11-11 Thread Farley, Peter x23353
We currently use SYNCSORT and need to parse an input CSV file with a trailing number that we need to right-justify in a fixed-length field with leading zeroes instead of leading blanks. So far I have not been able to find an example that shows how to write out that trailing field as a right-jus

Re: Is there an MVS service that will list IDENTIFYed entry points?

2019-11-11 Thread Jesse 1 Robinson
The PDS command (StarTool) is very good at mapping and manipulating load modules. I have not tried it with an entry point created only by IDENTIFY, but it's worth a shot. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-

Re: Is there an MVS service that will list IDENTIFYed entry points?

2019-11-11 Thread Charles Mills
And the CDE list does indeed contain the answer. The entrypoint is not there, but that is my answer. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Monday, November 11, 2019 10:36 AM To: IBM-MAIN@LISTSERV

Re: Gerhard Postpischil ז״ל

2019-11-11 Thread Tom Marchant
On Mon, 11 Nov 2019 19:06:04 +, Seymour J Metz wrote: >It is with deep regret that I announce the death of my friend and colleague >Gerhard Postpischil, whom some of you may know from here, CBTTAPE.ORG or >Hercules. Someone told his son Eric "You sound like your father." - I can >think of

Re: Unix files

2019-11-11 Thread Pierre Fichaud
I had initially mentioned that more than 1 file could be generated by 1 producer. There could also be more than 1 producer on the LPAR. I would assign 1 sub-task (written in assembler) to each zFS file. I need to read the log records produced by an application. Once the application has closed t

Re: WTO

2019-11-11 Thread Seymour J Metz
>I suppose that that depends what you think is the "obvious location". >I think that the obvious location is in the linkage conventions >documentation (which is within the assembler services guide). Indeed. >That is where the information is. FSVO is; that is where the information on the respo

Re: WTO

2019-11-11 Thread Seymour J Metz
That depends. The short answer is that if the parameter list is in dynamic storage then it is reentrant. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of scott Ford Sent: Sunday, November 10, 2

Gerhard Postpischil ז״ל

2019-11-11 Thread Seymour J Metz
It is with deep regret that I announce the death of my friend and colleague Gerhard Postpischil, whom some of you may know from here, CBTTAPE.ORG or Hercules. Someone told his son Eric "You sound like your father." - I can think of no greater compliment. Gerhard was a stickler for accuracy and a

Re: Is there an MVS service that will list IDENTIFYed entry points?

2019-11-11 Thread Charles Mills
Perfect. Thanks, Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Monday, November 11, 2019 10:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there an MVS service that will list IDENTIFYed entry points?

Re: Is there an MVS service that will list IDENTIFYed entry points?

2019-11-11 Thread Seymour J Metz
You should see a CDE for the alias. You can use CSVINFO to retrieve a list. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Charles Mills Sent: Monday, November 11, 2019 1:23 PM To: IBM-MAIN@L

Is there an MVS service that will list IDENTIFYed entry points?

2019-11-11 Thread Charles Mills
In a SYSUDUMP I can see the names of loaded modules, but not (unless I am missing something) any names added by IDENTIFY. Is there a service that will return to me the names of all entry points added with IDENTIFY? CSVQUERY will tell me about one particular entry point name but what if I wanted to

Re: Hyphens of mass destruction: When a clumsy finger meant the end for hundreds of (mainframe) jobs . The Register

2019-11-11 Thread Seymour J Metz
Dyslexia is not just a problem with hyphens. I once typed EXEC CMS ERASE when I meant ERASE CMS EXEC and was the fastest PA1 in the West. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Mark Re

Re: Hyphens of mass destruction: When a clumsy finger meant the end for hundreds of (mainframe) jobs . The Register

2019-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2019 10:59:40 -0500, Steve Smith wrote: >I'm not sure about JES2 interpreting a job number as negative. But the >"convenient" wrap-around range feature did get an operator fired at my shop >many years ago. He intended to purge 2 jobs: $PJ1234-1235, but prematurely >hit enter after

Re: Unix files

2019-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2019 11:01:22 -0500, Steve Smith wrote: >Sounds like a job for a pipe to me. > Or a named pipe for each producer? But does a named pipe provide any indication of the producer's terminating/closing it? Perhaps a recognizable END record? Does Pierre need to preserve the file conten

Re: Unix files

2019-11-11 Thread Steve Smith
Sounds like a job for a pipe to me. sas > On Sun, Nov 10, 2019 at 5:54 PM Pierre Fichaud wrote: > > > I must continuously monitor ("read") a Unix file that contains > > diagnostics. I open the file, parse the records and possibly produce > > output. Once I've read all the records, I need to wai

Re: Hyphens of mass destruction: When a clumsy finger meant the end for hundreds of (mainframe) jobs . The Register

2019-11-11 Thread Steve Smith
I'm not sure about JES2 interpreting a job number as negative. But the "convenient" wrap-around range feature did get an operator fired at my shop many years ago. He intended to purge 2 jobs: $PJ1234-1235, but prematurely hit enter after $PJ1234-123. Didn't make any noise until the supervisor &

Re: I saw 7 new college mainframe hires!

2019-11-11 Thread ITschak Mugzach
The Leipzig university (Germany) has a modern mainframe (I think z14) and is teaching mainframe languages as well. ITschak On Mon, Nov 11, 2019 at 4:18 PM Bill Ogden wrote: > >Date:Sun, 10 Nov 2019 08:01:24 -0800 > >From:Tom Brennan > >Subject: I saw 7 new college mainframe hires! > >

Re: High halves, ARs and old vs. new expectations (Was "WTO")

2019-11-11 Thread John McKown
On Mon, Nov 11, 2019 at 8:45 AM Charles Mills wrote: > Sure, there are lots of solutions (assuming the shop is not mortally > afraid of touching 1993 assembler code, has a budget and staff to do so, > and can find the source). > > My thought is why would the shop expect a problem? Why would a rou

Re: Unix files

2019-11-11 Thread Kirk Wolf
I have used Unix domain datagram sockets for something very similar. In this case, a "monitor/server" program would create and open a Unix-domain datagram socket and wait for messages from clients and process them. Clients would look for the existence of the socket as an indication to write diag

Re: High halves, ARs and old vs. new expectations (Was "WTO")

2019-11-11 Thread Charles Mills
Sure, there are lots of solutions (assuming the shop is not mortally afraid of touching 1993 assembler code, has a budget and staff to do so, and can find the source). My thought is why would the shop expect a problem? Why would a routine that has been working since 1993 be a suspect in an obsc

Hyphens of mass destruction: When a clumsy finger meant the end for hundreds of (mainframe) jobs . The Register

2019-11-11 Thread Mark Regan
https://www.theregister.co.uk/2019/11/11/who_me/ Regards, Mark T. Regan, K8MTR CTO1 USNR-Retired, Nationwide Insurance, Retired -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lis

Re: I saw 7 new college mainframe hires!

2019-11-11 Thread Bill Ogden
>Date:Sun, 10 Nov 2019 08:01:24 -0800 >From:Tom Brennan >Subject: I saw 7 new college mainframe hires! > >Last week I was invited to an IBM z15 meeting for a particular customer. > There were 7 younger folks in the row behind me who stood out among >all the (let's say) "older" people th

Re: High halves, ARs and old vs. new expectations (Was "WTO")

2019-11-11 Thread John McKown
On Mon, Nov 11, 2019 at 7:52 AM Charles Mills wrote: > > The interesting scenario is the case of the "know something" caller > > calling a "know nothing" target which in turn calls a "know something" > > target. > > I've been thinking about that one for a couple of days. My scenario is > this: >

Re: WTO

2019-11-11 Thread John McKown
On Fri, Nov 8, 2019 at 2:30 PM scott Ford wrote: > All: > > I have a bit of an issue I am trying to resolve in Assembler. We use a > skeleton exit from another vendor and it has been working fine. > It is re-entrant and keep seeing normal WTO's , i.e. ; WTO > 'X',ROUTCDE=11 , are not appeari

High halves, ARs and old vs. new expectations (Was "WTO")

2019-11-11 Thread Charles Mills
> The interesting scenario is the case of the "know something" caller > calling a "know nothing" target which in turn calls a "know something" > target. I've been thinking about that one for a couple of days. My scenario is this: a recently-compiled C or COBOL program calling a homegrown assembl

Re: JES NOTIFY EMAIL=

2019-11-11 Thread Carmen Vitullo
thanks for your insight Brian, I'll have to check my security once, more, I would hope IBM support would have seen the security issues back in August when I opened the PMR and received the first trace as I said before they assured my my security was setup correctly Carmen Vitullo - Ori

Re: Unix files

2019-11-11 Thread John McKown
On Sun, Nov 10, 2019 at 8:00 AM Pierre Fichaud wrote: > I want to process Unix files in a sub-task. The files are being written > into by applications in other address spaces. I open the file (BPX1OPN). I > need to read all the records. errno EAGAIN seems to say that there are no > new records

Re: WTO

2019-11-11 Thread Peter Relson
Does code written at a time before "high halves existed", or perhaps even before ARs existed, and depending only on OS behavior documented at such a time, continue to operate correctly? I can't think of a case where it wouldn't. Because such code would not have known anything about AMODE 64 or

Re: I saw 7 new college mainframe hires!

2019-11-11 Thread Parwez Hamid
I hope this is growing trend and continues elsewhere. Last week there were at least 25 of these young ones at the UK Guide Share Conference. They had there own '101' track. A number of sessions were actually presented by those who have been working with IBM Z for a couple of years! If this cont