Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Steve Coalbran
Excellent solution! Just tried it using original data supplied. I will save this example should I ever get such an unusual format of input data. Almost unchanged after JCL snippet Cut&Paste... //* //S010 EXEC PGM=IDCAMS //SY

SSLv2 & SSlv3 disable

2015-06-07 Thread zos reader
Hi All, We got a request from Security vulnerability team for disabling the SSLv2 & SSLv3 to TSL. As per IBM, they asked us to Apply PTF UA75508 / APAR OA46489 and also said this might affect other application. Is there any way to identify the application using SSL? Has anyone worked on this con

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Sri h Kolusu
>> Other than that I don't see how to do it. Martin, Frank would be disappointed with you that you forgot the JFY feature. It is quite simple to do it without IFTHEN negotiating the RDW length. :) Thanks, Sri Hari IBM Mainframe Discussion List wrote on 06/07/2015 07:34:08 AM: > From: Marti

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Sri h Kolusu
Minoru Massaki, It is quite simple to get the last 8 bytes from a variable length file without an exit. You simply need to use JFY to push the contents to the right and then pick the last 8 bytes and then use another JFY to push the contents to the left and there by achieving the desired result

Re: Re IEB841I IEBUPDTE puzzle

2015-06-07 Thread Ed Gould
On Jun 7, 2015, at 10:50 PM, Paul Gilmartin wrote: As regards the ADD statements. These have no bearing on DISPosition. It does not matter whether the data set is new or already exists, to create a new member the ./ ADD statement is used and to replace an existing member the ./ REPLACE st

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Shane Ginnane
On Sun, 7 Jun 2015 14:11:30 -0500, Bill Godfrey wrote: >That would mean there could be end-of-line characters and hex 00 characters in >a record, which would mean "sed" would not work. sed won't (shouldn't) care about the nulls, but won't like newlines (yes, I noted your careful language given

Re: z/OS V2.1 and SETLOAD

2015-06-07 Thread Bruce Hewson
Lizette, works as advertised. update your parmlib IEASYMxx members to make your symbol change permanent. run the SETLOAD command. similar to creating a new dynamic LINKLIST, your system gets a new SYMBOL table based on your updated IEASYMxx members. Regards Bruce Hewson -

Re: Re IEB841I IEBUPDTE puzzle

2015-06-07 Thread Paul Gilmartin
On Sun, 7 Jun 2015 16:09:45 +0100, Terry Sambrooks wrote: > > IEBUPDTE will not know what attributes apply. > In neither case was DCB information supplied before OPEN, yet one case worked, presumably because IEBUPDTE supplies DCB info by default. It remains a puzzle that the other case failed. >A

Re: Question on 3270 Devices

2015-06-07 Thread zMan
OK, what I wrote was: ...could either support four 3279 sessions at once, or one 3279 session that took the whole screen (you could switch modes; in single-session mode, you'd then cycle through the sessions). Which is admittedly not 100% clear, but doesn't make sense as "can only display one sess

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Bill Godfrey
On Sun, 7 Jun 2015 13:36:53 -0400, Robert A. Rosenberg wrote: >At 09:46 -0500 on 06/07/2015, Paul Gilmartin wrote about Re: DFSORT - >How to select last 8 bytes in variable length : > >>On Sun, 7 Jun 2015 22:28:01 +0900, Minoru Massaki wrote: >> >>>Hello >>> >>>There is a input file of variable le

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Tony's Outlook via Mozilla
Hello MM, without thinking about this much, using DF/SORT, you could convert all the VB records to FB, pick a fill character that doesn't now exist in the input file, then PARSE to search across the record, looking for the fill character and obtain the trailing 8 bytes. I'm guessing Kolusu wil

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Robert A. Rosenberg
At 09:46 -0500 on 06/07/2015, Paul Gilmartin wrote about Re: DFSORT - How to select last 8 bytes in variable length : On Sun, 7 Jun 2015 22:28:01 +0900, Minoru Massaki wrote: Hello There is a input file of variable length records. I want to insert the last 8 bytes of a record to front of the

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Minoru Massaki
Hello Tony-san, I already have read many DFSORT related posts in many Wed sites but could not find the answer. I know that the first 2 bytes of the variable record (RDW) contains the length of the record. But based on my knowledge of DFSORT, that value of the field could not use as the pointer in

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Minoru Massaki
Hello Koehler-san, Thank you for telling me DFSORT helpline. As your suggested, I have sent the question to them. > Also, you could probably do this in REXX. Yes, I already have written a REXX EXEC to do this. If number of the records to be processed is huge, the REXX EXEC (about 20 lines of the

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Paul Gilmartin
On Sun, 7 Jun 2015 09:21:08 -0700, Lizette Koehler wrote: > >Also, you could probably do this in REXX. There are many ways to do this >function. > Can one code a DFSORT exit in Rexx? Without a whole lot of interface code? >> -Original Message- >> From: Minoru Massaki >> Sent: Sunday, J

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Tony's Outlook via Mozilla
There was a DF/SORT related post sometime in the not so distant past that gave an example of how to read a VB file and determine all the differing record lengths. Without thinking about it much reading all the RDW fields should not be that difficult. On 6/7/2015 11:21 AM, Lizette Koehler wr

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Lizette Koehler
I am sure the DFSORT team will respond on Monday in the USA. Or you could send your query to them, there might be someone watching their helpline dfs...@us.ibm.com Those folks are very helpful. Also, the DFSORT Website on http://www-01.ibm.com/support/docview.wss?uid=isg3T779 Also, you c

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Minoru Massaki
Hello Gilmartin-san, Thank you for your idea. At this point, they (the customer) want to use only DFSORT without E15/E35. I'll tell them your ideas. Minoru Massaki - (M*M) 2015-06-07 23:46 GMT+09:00 Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu>: > On Sun, 7 Jun 2015 22:2

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Minoru Massaki
Hello Packer-san, Thank you for your suggestion. Same as your suggestion, I thought to use a bunch of IFTHEN for checking record length. At this point, unfortunately I cannot figure out how many different record lengths out there. The question came from a customer, they like to use DFSORT without

Re IEB841I IEBUPDTE puzzle

2015-06-07 Thread Terry Sambrooks
Hi Paul I am late with this response because I have been away but as far as I can see there are two issues with the sample JCL which contains the //HAMDLE DD statement. That particular DD statement does not contain any DCB information and hence unless a DATACLAS is being automatically allocated v

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Paul Gilmartin
On Sun, 7 Jun 2015 22:28:01 +0900, Minoru Massaki wrote: >Hello > >There is a input file of variable length records. >I want to insert the last 8 bytes of a record to front of the record as >following sample. ... > Must it be DFSORT? For example: 508 $ cat last8; sh last8 #! /bin/sh -x echo "\

Re: DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Martin Packer
How many different record lengths do you expect to see? If it's a few then maybe doing a bunch of IFTHEN clauses on the length in the RDW helps move these fields into place. By "a few" I once ran with 100 IFTHEN clauses and didn't notice the difference. Other than that I don't see how to do it

DFSORT - How to select last 8 bytes in variable length records

2015-06-07 Thread Minoru Massaki
Hello There is a input file of variable length records. I want to insert the last 8 bytes of a record to front of the record as following sample. Input file: RECORD01X11 RECORD02Y2 RECORD03ZCCC RECORD044A444 RECORD0555B Output File I want to have:

Re: Identifying a NIP console

2015-06-07 Thread Shmuel Metz (Seymour J.)
In , on 06/04/2015 at 08:05 PM, "Staller, Allan" said: >The system will respond to the first console that presents an >interrupt. That certainly used to be the case before console restructuring, but even if it is still the case, is that really the behavior that you want? -- Shmuel (Se

Re: SWA token translation (IEFQMREC, SWAREQ)

2015-06-07 Thread Shmuel Metz (Seymour J.)
In , on 06/05/2015 at 11:28 AM, Peter Relson said: >REXX EXECs that attempt to use the STORAGE If it were me I'd add a SWAREQ service to my installation's function package; you'd still need to modify the REXX code, but the changes would be fewer. -- Shmuel (Seymour J.) Metz, SysProg a

Re: User Log File migration issue (Was Re: Notify for XMIT)

2015-06-07 Thread Shmuel Metz (Seymour J.)
In <5572880c.3020...@acm.org>, on 06/06/2015 at 12:41 AM, Joel Ewing said: >Why this insistent fixation on TCB structure, Because *that* was the claim that I was rebutting. Because solving a problem usually requires a correct analysis of what is happening. Neither "My recollection is that t

Re: DB2 IFI locks a DBD for SHRD

2015-06-07 Thread Lizette Koehler
You might want to post this on the DB2 list. If you have not joined, you can do so at IDUG.ORG - it is free. Lizette > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Arie Kremer > Sent: Sunday, June 07, 2015 3:17 AM > To: IBM-

DB2 IFI locks a DBD for SHRD

2015-06-07 Thread Arie Kremer
Hi ALL, We have a product that uses IFI 306 request to read DB2 Log content. We have a number of Sysplex installations that the customers reported some DBD SHRD lock caused by our process that could be unlocked only stopping the process: Time of Lock02:53:4