Re: Where is the EPA offset of a program in the Binder API data?

2018-12-03 Thread Farley, Peter x23353
Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Saturday, December 1, 2018 3:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Where is the EPA offset of a program in the Binder API data? Thank you Peter! I missed that even though I called myself doing a very

Re: Where is the EPA offset of a program in the Binder API data?

2018-12-03 Thread Farley, Peter x23353
, December 1, 2018 3:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Where is the EPA offset of a program in the Binder API data? On 2018-12-01 4:01 AM, Farley, Peter x23353 wrote: > But the question still remains -- Where (if anywhere) is an EPA indicator in > the returned Binder API da

Re: Thanks For All the Fish

2018-12-12 Thread Farley, Peter x23353
Many thanks for all the help and information you have offered here over these many years. As others have said, you will surely be missed. May the road rise up to meet you. May the wind always be at your back. May the sun shine warm upon your face, and rains fall soft upon your fields. And until

Re: SPFLite goes Open Source

2018-12-13 Thread Farley, Peter x23353
Thanks for the notice Rob. Here's hoping a motivated user picks up the flag and runs with it. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Robert Prins Sent: Thursday, December 13, 2018 4:36 PM To: IBM-MAIN@LISTSERV.UA.EDU

Re: Enforcing CLASS in instream proc

2018-12-17 Thread Farley, Peter x23353
Peter, There is no way I know of to select or enforce a JOB class based on the presence and usage of any particular PROC (instream or not). Your best bet may be to write a utility program that svans the DD's in the job to see if it uses one of those product libraries and also retrieves to JOB

Re: 64-bit C code fetching IGGCSI00

2018-12-18 Thread Farley, Peter x23353
So using these pragmas did not stop the fetch error? #pragma(IGGCSI00, FETCHABLE) #pragma(IGGCSI00, OS_UPSTACK) Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Pierre Fichaud Sent: Tuesday, December 18, 2018 1:25 PM To: IBM-MAI

Re: AW: SPFLite goes Open Source

2018-12-18 Thread Farley, Peter x23353
Or FreeBASIC, an open-source BASIC compiler for Windows, linux and xbox. https://www.freebasic.net/ Not sure how compatible with PowerBASIC that one is, but it would be worth investigating. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] O

Re: 64-bit C code fetching IGGCSI00

2018-12-19 Thread Farley, Peter x23353
Hmm-m-m. Maybe #pragma linkage (IGGCSI00, OS_NOSTACK) would work? Also, investigate your C compile listing, what is the compiler option XPLINK set to? I get the impression from RTFM about the XPLINK option that XPLINK(OSCALL(NOSTACK)) is the default when LP64 is in effect, is that true for y

Re: 64-bit C code fetching IGGCSI00

2018-12-20 Thread Farley, Peter x23353
All this agita over invoking a straightforward system service routine like IGGCSI00 argues strongly for an IBM-supplied and IBM supported "thunk" or "glue" subroutine to enable such services to be used from AMODE64 programs. Or even for an alternate AMODE64 environment from XPLINK, which frankly

Re: Adding 90 seconds to 8 byte TOD FIELD

2018-12-24 Thread Farley, Peter x23353
Joe, One second in clock units is X'F424'. See the z/Architecture Principles of Operation for the format and contents of the CPU clock, figure 4-12 on page 4-47. The value for one second is in the chart under item 9 on page 4-52 here: http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr011.pdf

Re: TOD clock values, leap seconds and BLSUXTOD conversion service

2018-12-27 Thread Farley, Peter x23353
Peter, I really must speak up here in defense of Paul/Gil's long time position on the failings of the STCKCONV/CONVTOD services. Firstly, you are not correct that "no one agrees with" Paul/Gil's position on the values produced by STCKCONV. There are at least some of us out here who agree with

Re: TOD clock values, leap seconds and BLSUXTOD conversion service

2018-12-28 Thread Farley, Peter x23353
"A STCK value came from the clock and is not to be considered UTC time." Then what is STP/NTP (or whatever the current mechanism is named) supposed to do? Isn't the entire point of a hardware clock-setting mechanism to set the hardware clock to some agreed-upon and internationally-supported sta

Re: TOD clock values, leap seconds and BLSUXTOD conversion service

2018-12-28 Thread Farley, Peter x23353
I stand corrected. Thanks for decreasing my ignorance in this area with those links. Peter R., apologies for my mistaken understanding of the TOD clock value. I now much better appreciate your repeated statements about the TOD clock value being architecturally TAI - 10. Peter -Original

Re: Zowe?

2019-01-04 Thread Farley, Peter x23353
All done in a browser, or all done as an Eclipse-based interface that may have a browser view? I thought it was going to be an open-source version of the z/OS Explorer Eclipse setup (open source RDz?), but maybe I misunderstood too. Also still learning. Peter -Original Message- From:

Re: Zowe?

2019-01-06 Thread Farley, Peter x23353
Matt, Thanks for the extended and detailed response. There are many of us out here who are still wondering what this project really is. First, a caution: Please, please define your acronyms the first time you use them. E.G., what is JWT? Most of us (well, this application programmer in part

Re: Do I need to copy a mainframe flat file to OMVS, before I access the data from a JAVA program? - JZOS question

2019-01-11 Thread Farley, Peter x23353
I found the java V7 examples and documentation here: ftp://public.dhe.ibm.com//software/Java/Java70/JZOS/ And the java V8 examples and documentation here: ftp://public.dhe.ibm.com//software/Java/Java80/JZOS/ Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-14 Thread Farley, Peter x23353
Ed, I also participate in ASSEMBLER-LIST and I don't remember such a discussion. Can you pinpoint the approximate time period for that discussion? My biggest complaint/concern with the vector instructions is the woeful lack of any example code showing how to use them for just the kind of funct

Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue)

2019-01-14 Thread Farley, Peter x23353
1:18 AM, Farley, Peter x23353 wrote: > I also participate in ASSEMBLER-LIST and I don't remember such a discussion. > Can you pinpoint the approximate time period for that discussion? > > My biggest complaint/concern with the vector instructions is the woeful lack > of any examp

Re: Common back ends [was:Unreadable code]

2019-01-15 Thread Farley, Peter x23353
RE: Common back ends, AFAIK they do not. COBOL V5/6 use a Java back end (deponent knoweth not which one), C has its own (and the C back end was a candidate for the COBOL V5/6 back end but lost the race, or so I have been told by people who should know), and I don't know which one PL/1 uses thes

Re: Is there a C or LE service to retrieve ISPF statistics?

2019-01-16 Thread Farley, Peter x23353
Charles, Try CBT file 357. Member TOUCH in that file is a PL/1 program that may be more easily translated into C and then enhanced to recognize the newer "extended" statistics. HTH Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behal

Re: PARMDD and Symbols in a Started PROC

2019-02-14 Thread Farley, Peter x23353
The EXPORT needs to precede the PROC statement, but I am not sure if that is legal for a STARTed PROC. In my experience at z/OS level 2.2, for regular batch JCL you must put the EXPORT prior to any SET's **and** prior to any PROC *execution* in order to catch the PROC default values. And I agr

Where does ISPF determine how to repsond to "Attention" function?

2019-02-18 Thread Farley, Peter x23353
[Dual-posted to ISPF-L and IBM-MAIN] On my employer's z/OS 2.2 system and as far back as they have employed me (OS/390 R10 IIRC), pressing "Attention" (Esc on my PCOMM keyboard map) while in an ISPF screen "refreshes" the screen to the last stable state, so if you accidentally erased a whole li

Re: Where does ISPF determine how to repsond to "Attention" function?

2019-02-18 Thread Farley, Peter x23353
This will explain the PA1 (ATTN) and PA2 (RESHOW) functions, as used by ISPF. Next, you will want to see how these keys are mapped for your emulator. IIRC PCOMM also has a pop-up keypad for these and other functions. -- Tom Marchant On Mon, 18 Feb 2019 22:20:08 +, Farley, Peter x23353 wrote

Re: Where does ISPF determine how to repsond to "Attention" function?

2019-02-19 Thread Farley, Peter x23353
Thanks Timothy. I am indeed using TN3270E, but I am still somewhat mystified. PCOMM definitely maps "Attention" to the un-shifted Esc key on the keyboard, but it ACTS like PA1 in the ISPF / TSO HELP tutorial description on my employer's system, but not on my friend's system. He can use PA1 to

Re: Where does ISPF determine how to repsond to "Attention" function?

2019-02-19 Thread Farley, Peter x23353
iend's shop the terminal is >coming in through, e.g., NVAS, TPX. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________ From: IBM Mainframe Discussion List on behalf of Farley, Peter x23353 Sent: Monday, February 18, 2019 5:20 PM To: IBM-MAIN@L

Re: Where does ISPF determine how to repsond to "Attention" function?

2019-02-19 Thread Farley, Peter x23353
] On Behalf Of Ed Jaffe Sent: Wednesday, February 20, 2019 1:09 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Where does ISPF determine how to repsond to "Attention" function? On 2/19/2019 6:56 AM, Farley, Peter x23353 wrote: > Thanks Timothy. I am indeed using TN3270E, but I am s

Re: Where does ISPF determine how to repsond to "Attention" function?

2019-02-20 Thread Farley, Peter x23353
Thanks Attila, but in both our cases the keyboard is definitely in the unlocked state when we are editing / writing code in the ISPF editor, so any difference in response that depends on locked vs unlocked isn't at issue here. It's the differing response to the "same" AID key (Attention) when t

Re: Source of green zebra paper

2019-02-23 Thread Farley, Peter x23353
Staples USA has it, but Staples in the UK didn't show it as available. USA link: https://www.staples.com/Staples-Green-Bar-Computer-Paper-14-7-8-x-11-15lb-3-500-Box-177105/product_177105 Maybe you can ask Staples UK for this item / model number: Item #: 177105 | Model #: 25515/45115/177 HTH P

Re: How do I get a lower-case value into a "long" symbol?

2019-02-28 Thread Farley, Peter x23353
I think that you have to triple-quote the beginning of the SYM1 value and the end of the SYM2 value, like this: // SET SYM1='''blah,blah,blah' // SET SYM2=',foo,foo,foo''' // SET LONGSYM=&SYM1.&SYM2 In the SET for LONGPARM, the SYM1 and SYM2 values are quote-stripped when they are referenced.

Re: Number of directory blocks for existing PDS

2019-03-07 Thread Farley, Peter x23353
DESERV FUNC=GETALL will return a chain of DESB control blocks with a MEMBER count field in the header of each DESB. You can run the chain and add up the counts to get total members. I don't know of any way to count directory BLOCKS except to read the PDS / PDSE with QSAM and count the records

Re: calling a webservice using HTTPS from batch (and CICS)

2019-03-11 Thread Farley, Peter x23353
I would add gawk 4.x to that list, V4.2.1 if at all possible. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Matt Hogstrom Sent: Monday, March 11, 2019 12:02 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: calling a webservice usi

Re: How to obtain DSN's on a cartridge on SL laber format

2019-03-13 Thread Farley, Peter x23353
Ok, I'll bite -- What is UDACS please? Don't know about other shops but DITTO/ESA is what gets invoked here when you browse a VSAM file from ISPF 3.4. Probably a local command substitution in ISPCMDS, but it "just works". I suppose it could as easily be IBM File Manager or one of the ISV file

Re: STCKE faster than STCK! (was: instruction clock speed)

2019-03-13 Thread Farley, Peter x23353
Otherwise known as the deficiencies of software emulation vs silicon. :) Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Phil Smith III Sent: Wednesday, March 13, 2019 4:11 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: STCKE fas

Re: Accented Names in EBCDIC -> ASCII

2019-03-25 Thread Farley, Peter x23353
Indeed there are. See code points X'CB' to X'CF' in these tables for accented lower case letter oh. https://en.wikipedia.org/wiki/EBCDIC_037 https://en.wikipedia.org/wiki/EBCDIC_1047 HTH Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On

Re: Accented Names in EBCDIC -> ASCII

2019-03-25 Thread Farley, Peter x23353
s SBDATACONN settings and see what works best. Any suggestions for a starter set? Dennis -Original Message- From: IBM Mainframe Discussion List On Behalf Of Farley, Peter x23353 Sent: Monday, March 25, 2019 9:07 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Accented Names in EBCDIC ->

Accessing Libraryserver/SHELVES as Softcopy Library source?

2019-03-27 Thread Farley, Peter x23353
I recently started using Softcopy Librarian to DL and organize a local copy of some IBM manuals on my home Windows machine. The default "Internet source" includes a number of z/OS and CICS/TS sets of shelves, but there is a much larger set of shelves at this URL: https://www.ibm.com/support/lib

Re: Address of CSECTs within a load module

2019-04-08 Thread Farley, Peter x23353
Correct. CSV macros only identify entry point and load point (which may be different). Interior CSECT addresses of a module can only be obtained by using IEWBIND or a pre-planned vector of interior addresses at a fixed offset from either the load point or the entry point. Using IEWBIND you wo

Re: IBM Z Publications Archive site will replace the Library Server site

2019-04-26 Thread Farley, Peter x23353
Geoff, Thank you for the notification. Is it possible for IBM Softcopy Librarian to be permitted to access the site that is about to be sunset so that entire shelves can be downloaded should the user envision a need for those shelves of out-of-service hardware and/or software? There is not su

Re: Upper case for ISPF and SDSF

2019-04-30 Thread Farley, Peter x23353
The 129 keypunch could INTERPRET lower case in already-punched cards, but just like 029 (and 026 even) ENTERING lower case required multi-punch. No professional keypunch operator ever entered lower case letters. It would have required remembering the multi-punch combination for all the letters

Re: Library Server Being Replaced Clarification

2019-05-04 Thread Farley, Peter x23353
Ben, That was the pretty much the same question I posed in an email to the "Softcopy Librarian" support email address about a month or so ago but I have yet to receive any reply. In their defense, they do warn you that support via email is on a strictly "as available" basis. Geoff, Is it pos

Does z/OS "awk" support "nextfile" or "exit" action statements?

2019-05-13 Thread Farley, Peter x23353
Cross posted to IBM-MAIN and MVS-OE lists. I can see no documentation in the z/OS Unix Command Reference whether "nextfile" or "exit" are supported as action statements in z/OS "awk" scripts. Can anyone point me to any other documentation that tells me whether these actions are supported or not

Re: Does z/OS "awk" support "nextfile" or "exit" action statements?

2019-05-13 Thread Farley, Peter x23353
Never mind, I found the documentation on "exit" and "next" but not "nextfile". Apologies for the wasted bandwidth. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Monday

Re: z/OS Container Extensions

2019-05-16 Thread Farley, Peter x23353
Tina, Thanks for the link, but when viewed in IE11 none of the FAQ answers wraps at the screen boundary, and there is no slide bar at the bottom to slide the image to be able to see the rest of the text. It seems to work just fine in Firefox 60.6.3ESR, just not in IE11. Peter -Original Me

Re: z/OS Container Extensions

2019-05-16 Thread Farley, Peter x23353
And I should have added before sending: Not a PHB airline magazine overview, a COBOL-and-assembler-programmer-level explanation. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Thursday, May 16, 2019

Re: z/OS Container Extensions

2019-05-16 Thread Farley, Peter x23353
Dumb question for the day: What exactly is a "Docker Container"? Is there a very simple overview tutorial anywhere of what it does and how it does it that a mainframe programmer (with a small smattering of *ix knowledge) could use to understand what they are and how they could be used in z/OS?

Re: z/OS Container Extensions

2019-05-17 Thread Farley, Peter x23353
That link helped me understand quite a lot, thank you! Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Kirk Wolf Sent: Friday, May 17, 2019 1:53 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: z/OS Container Extensions Docker is a

Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-14 Thread Farley, Peter x23353
This question came to me from a co-worker: Is there any API to get the byte file size of a non-VSAM, non-zFS, non-database file in z/OS? I.E., byte file size for plain sequential files? I am aware of the "old way" of reading the VTOC of a volume to get the various DSCB's that total up disk ext

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-14 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List On Behalf Of Farley, Peter x23353 Sent: Thursday, May 14, 2020 8:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files? This question came to me from a co-worker: Is

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-14 Thread Farley, Peter x23353
Gentle listers, it's not that big a deal. As to why my co-worker wants that information or what they think they need to do with it, I do not know nor did I think to ask, as it was just phrased as "can I get this information from a batch COBOL program?". And I did not have the luxury of time to

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-14 Thread Farley, Peter x23353
Shmuel, Did you miss my answer? I got it sent back to me from the list at 4:41PM EDT. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Thursday, May 14, 2020 5:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Is there any z/OS API to get by

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-15 Thread Farley, Peter x23353
n the communications area. I strongly suspect that any more detail than that will be of a proprietary nature and thus not possible to discuss publicly. Thanks again for all your comments and suggestions. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Farley, Peter x

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-16 Thread Farley, Peter x23353
Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Thursday, May 14, 2020 11:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files? Caution! This message was sent from outside

Re: Is there any z/OS API to get byte file size for non-VSAM, non-zFS, non-database files?

2020-05-18 Thread Farley, Peter x23353
Peter, Thanks for your comments and questions. As I replied later in the thread, I was incorrect in posing my original question because the file to be sent is actually a VSAM file. Not sure at this time if it is KSDS or ESDS, as the question was posed to me by a co-worker in another applicati

Re: How to get last node in DFSORT

2020-05-26 Thread Farley, Peter x23353
AFAIK, no captures available in POSIX awk (i.e., what we get delivered with z/OS), only in gawk-only extended matching functions like gensub() and in gawk split() with the optional gawk-only arguments to split out parsed groups into arrays. Peter -Original Message- From: IBM Mainframe

Re: Punched cards and character set

2020-06-02 Thread Farley, Peter x23353
Radoslaw, In the IBM world, all possible EBCDIC characters (all 256) were possible to punch into physical cards, but punching any characters not on the keypunch machine's keyboard (like lower-case letters) required using the "multi-punch" key (or on older keypunch machines, physically holding t

Re: Punched cards and character set

2020-06-02 Thread Farley, Peter x23353
I stand corrected. 90 columns for Univac not 96. Memory is the second thing to go and I forget what the first one is . . . 😊 I only saw them once, when working as a temp keypunch operator. The service sent me to a Univac location and I had no idea how to operate their variety of keypunch mac

Re: COBOL Question

2020-06-05 Thread Farley, Peter x23353
In COBOL the AND logical operator has precedence over the OR logical operator, so without parenthesis your example is evaluated by the compiler as: IF (TVOLL (IND1) NOT = HIGH-VALUE AND SMOD (IND1) = 'B') OR SMOD (IND1) = 'R' You said that SMOD (IND1) = 'R' so the condition evaluate

Re: COBOL Question

2020-06-05 Thread Farley, Peter x23353
FYI, in COBOL: SMOD (IND1) = 'B' OR 'R' Evaluates as: SMOD (IND1) = 'B' OR SMOD (IND1) = 'R' The negative test requires AND instead of OR: SMOD (IND1) NOT = 'B' AND 'R' Evaluates to: SMOD (IND1) NOT = 'B' AND SMOD (IND1) NOT = 'R' Your last example has tripped up more than one novice COBOL

Re: "Everyone wants to retire mainframes"

2020-06-09 Thread Farley, Peter x23353
The first really dumb thing that IBM did was to STOP providing heavily discounted mainframe hardware and software to universities and colleges. The NYC public colleges (CUNY, City University of New York) used to offer courses in COBOL and VSAM and many other mainframe technologies in the 1970's

Re: "Everyone wants to retire mainframes"

2020-06-09 Thread Farley, Peter x23353
John, It isn't just the $900 per year for the ADCD OS license. You can’t legally get ADCD without the ~$5K yearly cost of the zPDT dongle and Linux hardware emulation layer to run the OS's. That's the real kicker. OTOH I wouldn't be surprised if bad-actor state security organizations (or US

Re: "Everyone wants to retire mainframes"

2020-06-09 Thread Farley, Peter x23353
e: "Everyone wants to retire mainframes" On Tue, Jun 9, 2020 at 11:38 AM Farley, Peter x23353 < peter.far...@broadridge.com> wrote: > John, > > It isn't just the $900 per year for the ADCD OS license. You can’t > legally get ADCD without the ~$5K yearly cost of the z

Re: "Everyone wants to retire mainframes"

2020-06-09 Thread Farley, Peter x23353
You're probably correct about the academic mindset and IBM's failure to successfully market to them that the mainframe CAN do all the "cool" things they perceive as the latest-and-greatest-idea(s), and is actively "keeping up" with the best of those ideas. Add to that the open-source mindset th

Re: New Mainframe Community

2020-06-14 Thread Farley, Peter x23353
And if you try to access that link with a corporate-required Internet Explorer browser, you will be told that Mattermost doesn't support your outdated browser, and you should change to one of the new more modern ones you doofus. Not what I would call "friendly". Peter -Original Message

Re: WP vs MS [was:: Quote style (was: ... Passive FTP ... )]

2020-06-14 Thread Farley, Peter x23353
And WP still exists and is still thriving, AFAICT. I run WP X8 on my home machines, and version X9 is out since last year. I just haven't upgraded yet. Use WP reveal codes on any reasonably complex MS document to see just what kind of cr*p is generated. It takes a long time to clean up the me

Re: Good FTP client for MVS data set access

2020-06-17 Thread Farley, Peter x23353
+1 for CLI! -1 for corporate nannies who want to log every time you use a command prompt window because that is so dangerous for the masses . . . or maybe especially for programmers who *think* they know what they are doing . . . I use FileZilla, it has a few quirks but mostly it works for my l

Re: SP,'PGM(ISPSAM) PARM(PNS)

2020-06-18 Thread Farley, Peter x23353
ISPF "Menu", item 9, "Status". -Original Message- From: IBM Mainframe Discussion List On Behalf Of Richards, Robert B. Sent: Thursday, June 18, 2020 11:33 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SP,'PGM(ISPSAM) PARM(PNS) Command SAREA - ISPSAM See ISPF Planning and Customization

Re: Migrate z/OS DASD volumes from Mainframe to Hercules Environment

2020-07-02 Thread Farley, Peter x23353
+1 And it is more like $5600/yr if I read the ADCD pricing correctly at $900/yr to continue support for another year ($4700/yr for the one-CPU dongle, $900/yr for the ADCD stack). So that is about equivalent to buying a new SUV on a 5- or 6-year purchase plan (not including insurance), or abou

Re: Migrate z/OS DASD volumes from Mainframe to Hercules Environment

2020-07-05 Thread Farley, Peter x23353
Count me in for a more serious discussion. Note that some (perhaps large) proportion of potential users of such a co-op may be of the kind that need infrequent access to system programmer functionalities, only the widest possible range of compilers and subsystems for application-level explorati

Re: Any interest in PSD I/O for REXX?

2020-07-07 Thread Farley, Peter x23353
I think I can find uses for such a function, so I'll vote yes. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Monday, July 6, 2020 8:02 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Any interest in PSD I/O for REXX? Long ago in a galaxy far aw

Re: Free Mainframe Stuff 2020: Reply Here with Nominations

2020-07-08 Thread Farley, Peter x23353
The mother lode is cbttape.org, the repository for so much "Free Mainframe Stuff" that we all use, and also many of the links off the cbttape.org main page (e.g., Mark Zelden's excellent offerings, etc.). Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Timoth

Re: SuperWylbur Users

2020-07-08 Thread Farley, Peter x23353
Do you know of a specific program or macro in the package that exhibits this failure? Or have a link to any public discussion of the issue that describes the mis-translations? I DL'd the tgz file directly from Stanford and browsed a few sources at random, but I didn't see any "weird" character

Re: SuperWylbur Users

2020-07-08 Thread Farley, Peter x23353
Joe, I think many of us are familiar with the issues involved in translating some CCSID's of EBCDIC to ASCII, famously the square brackets and certain other "special" characters. Do you yourself know (or can you point to any public discussion that lists) the specific character translations tha

Re: SuperWylbur Users

2020-07-08 Thread Farley, Peter x23353
iginal Message- From: IBM Mainframe Discussion List On Behalf Of Tony Harminc Sent: Wednesday, July 8, 2020 7:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SuperWylbur Users On Wed, 8 Jul 2020 at 14:38, Farley, Peter x23353 wrote: > > Do you know of a specific program or macro in the pa

Re: Still COBOL After All These Years?

2020-07-16 Thread Farley, Peter x23353
+1 Shmuel !! Well said. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Thursday, July 16, 2020 1:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Still COBOL After All These Years? EXTERNAL EMAIL The claim that COBOL is English like is

Re: [External] IBM z15 Announcement Letter

2020-08-06 Thread Farley, Peter x23353
Radoslaw is correct however. The actual Service Guide PDF's do not appear to be publicly available even for older models, or perhaps only via Resource Link for actual IBM hardware customers. It seems that you can't get them from the Library site here: https://www-05.ibm.com/e-business/linkweb

Re: Discrepancy regarding the real address of the DUCT

2020-08-07 Thread Farley, Peter x23353
Interesting. I wonder if "future supervisor function" may include the actual ability to USE the various TRAP-related instructions defined in the z architecture in application-level (problem state) code running in z/OS. That would be really nice. At least some application developers out here in

Re: Constant Identifiers

2020-09-04 Thread Farley, Peter x23353
Sounds to me like the documentation writer was a bit confused. Looks to me like it should read instead: If the number 3.1416 is used in more than one place in the program, then you *should* declare it as a named constant. If it requires specific data or precision attributes at different places

Re: Syncsort include/omit beyond record

2020-09-09 Thread Farley, Peter x23353
Use these PARM options for SYNCSORT to allow field references beyond the actual input record length: PARM='VLTEST=2,VLTESTI=2' One of your VB input records is less than 17 bytes long (21 - 4 = 17). HTH Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Joseph

Re: Syncsort include/omit beyond record

2020-09-09 Thread Farley, Peter x23353
Discussion List On Behalf Of Paul Gilmartin Sent: Wednesday, September 9, 2020 2:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Syncsort include/omit beyond record On Wed, 9 Sep 2020 17:19:55 +0000, Farley, Peter x23353 wrote: >Use these PARM options for SYNCSORT to allow field referenc

Re: Syncsort E15 not receiving records

2020-09-14 Thread Farley, Peter x23353
E15 does NOT have to provide all data to the sort. FIRST TIME the E15 exit is called the code at +0 in the parameter list is +0 to indicate "first time", allowing you to do any "one time setup" your program needs, then code = +4 for every other record that SORT reads for you and +8 at EOF on SO

SORT selection question

2020-09-16 Thread Farley, Peter x23353
When using SORT (either DFSORT or SYNCSORT) to select a relatively small sample of records by (a) particular key value(s) from a *very large* sequential file, when one knows in advance that the "key values" used to select the desired sample records are in sorted order in the input file, is there

Re: SORT selection question

2020-09-16 Thread Farley, Peter x23353
Thanks Sri, I am aware of the STOPAFT parameter, but it uses a hard-coded count. When the goal is to find ALL records with the selected values and one does not know in advance how many there are, it is not as helpful as it could be. I was thinking of a command similar to OMIT / INCLUDE, someth

Re: SORT selection question

2020-09-16 Thread Farley, Peter x23353
00, Paul Gilmartin wrote: >On Wed, 16 Sep 2020 20:17:10 +, Farley, Peter x23353 wrote: > >>Thanks Sri, I am aware of the STOPAFT parameter, but it uses a hard-coded >>count. When the goal is to find ALL records with the selected values and one >>does not know in advan

Re: SORT selection question

2020-09-17 Thread Farley, Peter x23353
Indeed, Rexx is an option but not the fastest tool in the box. And I don't know about sed but z/OS awk (perhaps not intentionally) does indeed support "classic" datasets via DD. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Wednesday, S

Re: SORT selection question

2020-09-17 Thread Farley, Peter x23353
Unfortunately, no IBM FM here. CA FM is here and might be an option. Its performance has been adequate for programming needs, but I have not put it to the test on the really big files. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Peter Van Dyke Sent: Wed

Re: COBOL ? Re: SORT selection question

2020-09-17 Thread Farley, Peter x23353
cott Barry SBBTech LLC On Wed, 16 Sep 2020 15:39:07 -0500, Paul Gilmartin wrote: >On Wed, 16 Sep 2020 20:17:10 +0000, Farley, Peter x23353 wrote: > >>Thanks Sri, I am aware of the STOPAFT parameter, but it uses a hard-coded >>count. When the goal is to find ALL records with

Re: SORT selection question

2020-09-17 Thread Farley, Peter x23353
Of course that is possible, and it is an option that I am aware of. It's just not as immediately usable as a control-card-only solution would be. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Christopher Y. Blaicher Sent: Wednesday, September 16, 2020 8:28

Re: COBOL ? Re: SORT selection question

2020-09-17 Thread Farley, Peter x23353
rt away from us, so I personally wouldn’t want to be the one filing such an RCF. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Thursday, September 17, 2020 12:06 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: COBOL ? Re: SORT selection qu

SORT question: How to both remove records from a file AND write removed records to a 2nd output?

2020-09-22 Thread Farley, Peter x23353
In one pass of an input file is there a way to use SORT to both remove identified records from an input file AND write those removed records to a second output file? I know I can run two passes of the input using INCLUDE in pass 1 to select just the records to be removed and a second pass using

Re: SORT question: How to both remove records from a file AND write removed records to a 2nd output?

2020-09-22 Thread Farley, Peter x23353
Thanks Max, that would seem to be the way. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Massimo Biancucci Sent: Tuesday, September 22, 2020 1:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SORT question: How to both remove records from a file AND write rem

Re: SORT question: How to both remove records from a file AND write removed records to a 2nd output?

2020-09-22 Thread Farley, Peter x23353
Thanks Sri, that is just what I need. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Tuesday, September 22, 2020 2:24 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: SORT question: How to both remove records from a file AND write removed recor

Re: Determining program name/number of paramaters from called COBOL program

2020-09-22 Thread Farley, Peter x23353
Current Enterprise COBOL compilers (and back as far as I know, even COBOL F-level from MVT) always mark the last parameter address in the address list with the bit 0 turned on, though I have not researched what current ones do if the last parameter is "BY VALUE". Again for current Enterprise CO

Re: Fwd: Just how secure are mainframes? | Trevor Eddolls

2019-05-28 Thread Farley, Peter x23353
Ray, PMFJI here, but as a regular application programmer (not a sysprog) I do not understand how the FTP JES option allowed is a configuration vulnerability. Isn't the FTP JES option one of the ways that the IBM z/OS and CICS Explorer Eclipse-based products (and maybe other ISV Eclipse GUI's) p

Re: Fwd: Just how secure are mainframes? | Trevor Eddolls

2019-05-28 Thread Farley, Peter x23353
On 5/28/2019 12:46 PM, Farley, Peter x23353 wrote: > Ray, > > PMFJI here, but as a regular application programmer (not a sysprog) I do not > understand how the FTP JES option allowed is a configuration vulnerability. > > Isn't the FTP JES option one of the ways that the IBM

Re: Fwd: Just how secure are mainframes? | Trevor Eddolls

2019-05-28 Thread Farley, Peter x23353
t is that FTP JES may be done from environments outside the scope and control of a z/OS system. Those environments may not be as secure as z/OS. // On 5/28/2019 12:46 PM, Farley, Peter x23353 wrote: > Ray, > > PMFJI here, but as a regular application programmer (not a sysprog) I do not

Re: Fwd: Just how secure are mainframes? | Trevor Eddolls

2019-05-28 Thread Farley, Peter x23353
From: IBM Mainframe Discussion List on behalf of Farley, Peter x23353 Sent: Tuesday, May 28, 2019 4:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Fwd: Just how secure are mainframes? | Trevor Eddolls Shmuel, Were you asking me or Ray? For myself, I have no opinion to express about the secur

Re: 64-bit C++ calling assembler

2019-05-29 Thread Farley, Peter x23353
31-bit pointers can be declared in C using this syntax: char * __ptr32 ptr1; Not sure if C++ will allow that, but if it does you can set your pointers up that way and pass them as 4-byte values instead of 8-byte values. You can declare pointer arguments to your assembler routine in the same wa

Is there any way to convert RECFM=U to RECFM=V with a utility or script?

2019-06-12 Thread Farley, Peter x23353
We have a vendor-generated file that comes in with DCB=(RECFM=U,LRECL=200,BLKSIZE=27998) (don't ask why please, this DCB setting is out of our hands). The records are actually variable length data, up to 200 bytes of actual data with no length prefix (no RDW/BDW). No binary data, only text cha

Re: Is there any way to convert RECFM=U to RECFM=V with a utility or script?

2019-06-12 Thread Farley, Peter x23353
arley, Peter x23353 Sent: Wednesday, June 12, 2019 3:05 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Is there any way to convert RECFM=U to RECFM=V with a utility or script? We have a vendor-generated file that comes in with DCB=(RECFM=U,LRECL=200,BLKSIZE=27998) (don't ask why please, this DCB s

Re: Is there any way to convert RECFM=U to RECFM=V with a utility or script?

2019-06-12 Thread Farley, Peter x23353
Hi Sri, Tried that, the first step works without a problem but the second one fails with a SYNAD error, "WRNG.LN.RECORD". I found out that some of the records are actually up to 225 or so bytes, and changed the "200" values to 250 but still got the SYNAD error. The actual physical records are

  1   2   3   4   5   6   7   8   9   10   >