Re: Strange code Generation from XL\C Metal C

2020-04-28 Thread retired mainframer
The LY instruction is picking up the file descriptor (think DD name) so the IO accesses the correct file. The memcpy statement doesn't care what file the data came from. You are copying whatever is currently in the buffer to reclen and it is obvious that the buffer is at the start of your stru

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread Paul Gilmartin
On Wed, 29 Apr 2020 02:57:23 +0100, CM Poncelet wrote: >... but that's the only way to do it in conditional macro assembler; so >what me worry about 3GL's? :) > What hardware? Doesn't Divide leave the quotient in one register and the remainder in an adjacent one? >On 28/04/2020 10:46, David Cray

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread CM Poncelet
... but that's the only way to do it in conditional macro assembler; so what me worry about 3GL's? :) On 28/04/2020 10:46, David Crayford wrote: > No worries. FWIW,  I think using the // modulo operator would make > your code less verbose and complex ;) > > On 2020-04-28 11:14 AM, CM Poncelet wrot

Strange code Generation from XL\C Metal C

2020-04-28 Thread Joseph Reichman
I am using a pointer to buffer to read in data the data name is thread_ptr->buffer buffer is define char[2100] Here is code when I call the read notice it bumps register 4 21000 bytes to get the address of buffer _read(thread_ptr->fh, &thread_ptr->buffer[0], reclen); L

Re: Here we go again

2020-04-28 Thread Wayne Bickerdike
Half the population of Australia didn't know what a recession is. They are learnnig fast. Now hearing "let's manufacture stuff". The robots will love that. State owned steel company I worked at : 4,000,000 tons of off spec steel with 8,000 employees. Korean Steel company : 20,000,000 tons of qual

Re: #pragma insert_asm Metal C

2020-04-28 Thread Joseph Reichman
So since my code has literals I was just trying to put at the end of @@LIT@1 addressed by r3 when I tried to ORG @@LIT@1 I got statement unresolvable -Original Message- From: IBM Mainframe Discussion List On Behalf Of Mike Schwab Sent: Tuesday, April 28, 2020 8:20 PM To: IBM-MAIN@LI

Re: #pragma insert_asm Metal C

2020-04-28 Thread Mike Schwab
'beyond using' ? A base register can only be used to address 4K of memory. On Wed, Apr 29, 2020 at 12:09 AM Joseph Reichman wrote: > > One of the things I learned the hard way > That when inserting literals > > The executable assembler code generated by metal C has no base register I > believe

#pragma insert_asm Metal C

2020-04-28 Thread Joseph Reichman
One of the things I learned the hard way That when inserting literals The executable assembler code generated by metal C has no base register I believe so you some how have to establish addressabilty to the literals Which why I was trying to do any org @@LIT@1 as it is addressed by register 3

Re: Here we go again

2020-04-28 Thread scott Ford
Seymour, Maybe I am too old school On Tue, Apr 28, 2020 at 5:24 PM Seymour J Metz wrote: > ObKoheleth Why do people keep talking about 20-20 hindsight for issues > that had been discussed decades earlier? > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ___

Re: Here we go again

2020-04-28 Thread Seymour J Metz
ObKoheleth Why do people keep talking about 20-20 hindsight for issues that had been discussed decades earlier? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of scott Fo

Re: S0F9 and SOFD ABENDs and SVC dumps - oh my!

2020-04-28 Thread Allan Staller
MAXPROCSYS in SYS1.PARMLIB(BPXPRM00) MAXASSSIZE in SYS1.PARMLIB(BPXPRM00) -Original Message- From: IBM Mainframe Discussion List On Behalf Of Thomas David Rivers Sent: Sunday, April 26, 2020 9:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: S0F9 and SOFD ABENDs and SVC dumps - oh my! [CAU

Re: S0F9 and SOFD ABENDs and SVC dumps - oh my!

2020-04-28 Thread Knutson, Samuel
Dave do you have an IEFUSI exit or the new parmlib support and are you reserving sufficient space for z/OS to do termination processing? It might be helpful for you to look at the way REGION is laid out in this job using Mark Zelden's REXXSTOR exec http://mzelden.com/mvsutil.html -Original M

Re: LzLabs

2020-04-28 Thread scott Ford
I worked and lived in Switzerland. For Switzerland companies to do layoffs it isnt good economically. The Swiss Franc is extremely strong in the currency market. Scott On Tue, Apr 28, 2020 at 1:23 PM David Crayford wrote: > On 2020-04-28 11:11 PM, Ed Jaffe wrote: > > Swisscom, the largest telc

Re: Here we go again

2020-04-28 Thread scott Ford
All: Trying to get the government to take action on something of the nature you all are talking about takes time unfortunately. Hindsight is 20/20 ...thats the problem i see with Cobol - Unemployment. Lets get it done which is fine but no plan thats a big issue On Fri, Apr 24, 2020 at 5:3

Re: IBM z ISA assembler & emulator.

2020-04-28 Thread scott Ford
John, I have VisibleZ and its interesting, havent used it much. Scott On Thu, Apr 23, 2020 at 7:17 AM John McKown wrote: > On Wed, Apr 22, 2020 at 6:16 AM Knutson, Samuel < > samuel.knut...@compuware.com> wrote: > > > Hi John, > > > > z390 Portable Mainframe Assembler and Emulator > > http://z

S0F9 and SOFD ABENDs and SVC dumps - oh my!

2020-04-28 Thread Thomas David Rivers
I have a program that fires up about 1000 tasks, and each of these tasks fire up a sub-task... (I say "tasks" but these are actually BPX threads - started with BPX pthread_create.) Each of the 1000 tasks/threads starts a sub-thread and waits for its completion. Most of the time when I run the p

Re: DFSMShsm high CPU consumption [EXTERNAL]

2020-04-28 Thread Glenn Wilcock
Hi Lizette, It allows different WLM settings. For example, a MAIN can do RECALLS and have a higher WLM goal than an AUX host that is assigned to run a migration window with a lower goal. I've never actually worked with a client to do this... ---

Re: DFSMShsm high CPU consumption [EXTERNAL]

2020-04-28 Thread Lizette Koehler
Glenn - Does changing HSM from a Singe TCB to multiple TCBs (like Multi Address Space HSM or MASH) help in controlling HSM resource consumption? Lizette -Original Message- From: IBM Mainframe Discussion List On Behalf Of Glenn Wilcock Sent: Tuesday, April 28, 2020 11:18 AM To: IBM-

Re: DFSMShsm high CPU consumption [EXTERNAL]

2020-04-28 Thread Glenn Wilcock
It is Newsletter 2018 No. 4 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Request: Examples of an IPCS RUNARRAY command where the EXEC clause display storage using a pointer as a displacement off of X

2020-04-28 Thread Binyamin Dissen
On Tue, 28 Apr 2020 13:58:06 + Chris Hoelscher wrote: :>examples of an IPCS RUNARRY ??? :>the side of a milk carton? Why would you suggest that RUNARRAY be dropped? Because code can be written to simulate it? :>Thank You, :>Chris Hoelscher :>Lead Database Administrator :>IBM Global Technic

Re: LzLabs

2020-04-28 Thread David Crayford
On 2020-04-28 11:11 PM, Ed Jaffe wrote: Swisscom, the largest telco in the country: https://www.theregister.co.uk/2019/05/16/lzlabs_kills_swisscoms_mainframes/ Re: the lay-off, now is great time to trim workforce "fat" and/or "dead wood" with many governments providing unheard of subsidies

Re: LzLabs

2020-04-28 Thread Ed Jaffe
On 4/28/2020 7:49 AM, Jake Anderson wrote: They migrated some swiss based telecommunications company. Swisscom, the largest telco in the country: https://www.theregister.co.uk/2019/05/16/lzlabs_kills_swisscoms_mainframes/ Re: the lay-off, now is great time to trim workforce "fat" and/or "dead

Re: DFSMShsm high CPU consumption

2020-04-28 Thread Martin Packer
In the late 1980s I was involved with a customer to look at (then) DFHSM to figure out how to control the number of parallel tasks on each machine (MVS/ESA image). This was for (then) 24-bit virtual storage management purposes. I vaguely recall we could decide which system had how many of each

Re: LzLabs

2020-04-28 Thread Jake Anderson
They migrated some swiss based telecommunications company. On Tue, 28 Apr, 2020, 6:19 PM zMan, wrote: > Again? They did that a year or two ago already. Not a good sign. > > On Mon, Apr 27, 2020 at 8:18 AM Peter Baumann > wrote: > > > Hi there > > Any news on LzLabs mainframe emulation company.

Re: Request for help with CBT961

2020-04-28 Thread Lionel B Dyck
You need to update the configuration load module, which means having it in your ISPLLIB, STEPLIB, or LINKLIB. After updating it using ISPCCONF, it is best to exit ISPF to TSO READY and then restart ISPF. The ISPF table needs to be in your ISPTLIB concatenation, and the exec's need to be in your

Re: Request for help with CBT961

2020-04-28 Thread Beesley, Paul
Yes, JU3 works correctly for me as well, using the line command table entry rather than the config table change.. Best Regards Paul -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sean Gleann Sent: 28 April 2020 15:03 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Reques

Re: Read BookManager/READ files

2020-04-28 Thread Seymour J Metz
Alas, the Firefox that I'm using is the most recent version that has been ported to OS/2, and rust, the new implementation language for FF, has not been ported. There is a project to port a more recent browser, but for the time being this is what I have, I'm fairly certain that anybody running

Re: Read BookManager/READ files

2020-04-28 Thread Susan Shumway
Hi Shmuel, I'm glad that you found an environment that lets you access the content properly. Thanks for you tip about IE Explorer. I'm not an official tester - I just tried the site on all the browsers on my local system to see if I saw any immediate problems. I'm sure that the official test

Re: DFSMShsm high CPU consumption [EXTERNAL]

2020-04-28 Thread Seymour J Metz
Is the W&W newsletter still available? If so, I strongly urge those not familiar with it to take a look. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Glenn Wilcock [

Re: DFSMShsm high CPU consumption [EXTERNAL]

2020-04-28 Thread Glenn Wilcock
DFSMShsm has made many advances over the years to become more efficient. I teamed up with Frank Kyne of Watson & Walker to write an article on this topic in their newsletter. I'm also more than happy to give a WebEx on this topic with this client, and any other who is interested. It's a popul

Re: LzLabs

2020-04-28 Thread zMan
Again? They did that a year or two ago already. Not a good sign. On Mon, Apr 27, 2020 at 8:18 AM Peter Baumann wrote: > Hi there > Any news on LzLabs mainframe emulation company. I heard they are having > big layoff. > Peter B > > -

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread Seymour J Metz
That's an example of why I bought Tritus SPF (TSPF) instead of CTC. ISREDIT is the environment for ISPF/PDF EDIT, and any EDIT macro needs services in that environment. address ISPEXEC ISREDIT foo is a slower way of doing address ISREDIT foo. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~s

Re: Request for help with CBT961

2020-04-28 Thread Sean Gleann
Lionel: I just tried exactly the same test as you describe, but Nope - I get the results I previously got. It must be down to my environment somehow. I shall work on making formal change to the config table and come back on this later Thanks for all your help Regards Sean On Tue, 28 Apr 2020 a

Re: Request: Examples of an IPCS RUNARRAY command where the EXEC clause display storage using a pointer as a displacement off of X

2020-04-28 Thread Chris Hoelscher
examples of an IPCS RUNARRY ??? the side of a milk carton? Thank You, Chris Hoelscher Lead Database Administrator IBM Global Technical Services T 502.476.2538 or 502.407.7266 -Original Message- From: IBM Mainframe Discussion List On Behalf Of Binyamin Dissen Sent: Sunday, April 26, 20

Re: Addressing literals and Automatic Storage in Metal C

2020-04-28 Thread David Crayford
No worries! It's a pretty small chapter so you should read it thoroughly to "grok it". For using macros in LE code you need to use a different technique that uses a static function: inline double timeused() {     uint64_t mics = 0;     __asm("  IEABRCX DEFINE   \n"   "  TI

Re: Request: Examples of an IPCS RUNARRAY command where the EXEC clause display storage using a pointer as a displacement off of X

2020-04-28 Thread Seymour J Metz
I'd report both as bugs, but I suspect that the second is WAD. I'm sending an RCF asking for clarification of the second. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of

Re: Request for help with CBT961

2020-04-28 Thread Lionel B Dyck
I copied your JCL statement into my library, changed it to lowercase, and then used JU which did just that one line. I then reset that line to lowercase and used JU3 and all 3 lines were uppercased. The issue may be with the ispf configuration table or the table. Difficult to know. I have tes

Re: Request for help with CBT961

2020-04-28 Thread Sean Gleann
Problem with he JU command w.r.t. multil-ine JCL statements? I'm not sure whether I've found a bug or if my expectations exceed the capability of Yves' code. I haven't yet updated the ISPF Configuration Table. At this stage I want to keep the new facilities 'under test', so I followed Paul Beesle

Re: XL C\C ++ sizeof of datatypes

2020-04-28 Thread David Crayford
On 2020-04-26 2:13 PM, Thomas David Rivers wrote: There's a lot being thrown around here However, there _are_ places in the C language where the compiler must fold constants at compile time, e.g.:    enum tag { one = (1+0), two = (1+1+0) }; That is obliged to compile and the compiler most

Re: Request: Examples of an IPCS RUNARRAY command where the EXEC clause display storage using a pointer as a displacement off of X

2020-04-28 Thread Binyamin Dissen
As an exercise, I invoked a REXX out of the EXEC(()) which did an EVALSYM on X. The (unexpected and counter-intuitive) results were that ADDRESS was the same for every entry (the address of the first entry). The only thing that changed was ENTRY. I had to write a REXX to do the simple LIST comman

Re: Covid-19 COBOL Needs

2020-04-28 Thread Stan Saraczewski
Same form letter I got. Oh well... On Tue, Apr 28, 2020 at 4:25 AM Matt Hogstrom wrote: > Received this response from New Jersey (I sent in a volunteer request a > few days after the initial call for coders) > > Hello, > > Thank you, again, for expressing your interest in assisting the State of

Re: Addressing literals and Automatic Storage in Metal C

2020-04-28 Thread Joseph Reichman
I really spent about an hour looking in the language guide prof and used mainly in metal c as I thought the topic related Particularly to that Thanks > On Apr 27, 2020, at 10:16 PM, David Crayford wrote: > > Joe, > > You really do need to learn how to read the manuals instead of posting h

Covid-19 COBOL Needs

2020-04-28 Thread Matt Hogstrom
Received this response from New Jersey (I sent in a volunteer request a few days after the initial call for coders) Hello, Thank you, again, for expressing your interest in assisting the State of New Jersey's response to the unprecedented challenges raised by COVID-19. Thousands of people and

Re: Request for help with CBT961

2020-04-28 Thread Lionel B Dyck
Glad you got it working - Yves did a FANTASTIC job creating this tool that greatly improves ISPF Edit. Lionel B. Dyck < Website: https://www.lbdsoftware.com "Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are." - John W

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread CM Poncelet
Thanks - I have figured out how to use it.   It's an edit macro and it must therefore be saved with an ".spf" extension instead of the ".isp" one used for CTC Rexx execs. Also, it needs to be invoked while editing a file and not issued as a TSO command. When all that is done, it works OK.   Thanks

Re: Request for help with CBT961

2020-04-28 Thread Beesley, Paul
Step 3 is required for making the change global. But you can test it by entering the name of the table in the Edit Entry Panel for testing. It's at the bottom and will be remembered across logons Line Command Table . . YCLMACTB Data Encoding Paul -Original Message- From: IBM Ma

Re: Request for help with CBT961

2020-04-28 Thread Sean Gleann
I just noticed that one myself, Lionel. No, i didn't. (Got mixed up as to which z/OS version I was using. Doh!) Thanks anyway Sean On Tue, 28 Apr 2020 at 11:05, Joe Monk wrote: > Maybe this will help: > > //***FILE 961 is from Yves Colliard and contains a collection of* > FILE 961 > //*

Re: Request for help with CBT961

2020-04-28 Thread Joe Monk
Maybe this will help: //***FILE 961 is from Yves Colliard and contains a collection of* FILE 961 //* ISPF commands which can be added to your session. * FILE 961 //* * FILE 961 //* YCLMAC - A collection of user l

Re: Request for help with CBT961

2020-04-28 Thread Lionel B Dyck
Did you update your ISPF Configuration table? >From the $$$DOC member these are the 1st 3 steps: Installation: 1. Copy YCLMACTB into ISPTLIB library (see $$$INST)

Re: Latest COBOL standard is 2014 was Re: Cobol

2020-04-28 Thread R.S.
W dniu 27.04.2020 o 17:48, Bernd Oppolzer pisze: Am 27.04.2020 um 15:39 schrieb Clark Morris: I wanted USAGE BIT 50 years ago because I was dealing with bit switches on customer, product and open account files. In 1992, my customer at that time (local transport) wanted to help the local tran

Request for help with CBT961

2020-04-28 Thread Sean Gleann
Can anyone help me with installing/using the ISPF editor extensions provided in CBT961, please? CBT961 came to my notice when reading through another thread here, and I thought it might come in handy. I've downloaded and RECVd the install package, then modified and used the £££INST skeleton JCL to

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread Robert Prins
On 2020-04-28 03:47, CM Poncelet wrote: Thanks, but I get the following errors: ecalc(182): Error #39, Evaluation stack overflow     do until tmp = tail PRESS ANY KEY TO CONTINUE. and Error 10: Illegal ISPEXEC Service 'isredit macro (parm) NOPROCESS'. PRESS ANY KEY TO CONTINUE.

Re: Friday OT, cheerful program for gloomy times

2020-04-28 Thread David Crayford
No worries. FWIW,  I think using the // modulo operator would make your code less verbose and complex ;) On 2020-04-28 11:14 AM, CM Poncelet wrote: Yes, you are absolutely right. I thought it was the other way round, divisble by 100 being leap years and by 400 not leap years. It should have