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

2019-01-08 Thread Bernd Oppolzer
Very nice. I once got a task to rewrite or migrate some programs which originated in Poland; they were full of polish variable names. This was very hard because I had no idea what that variables meant ... I remember KONIEC, which, IIRC, means end-of-file :-) after a week or so, I understood at l

Re: how many OSes run on IBMz

2019-01-24 Thread Bernd Oppolzer
Am 24.01.2019 um 13:25 schrieb R.S.: W dniu 2019-01-24 o 13:17, John McKown pisze: This is mainly a curiosity question. I know of: z/OS, z/VSE, z/TPF, and z/Linux. Are there any others? OK, the real reason I'm asking is to be a bit weird in a game that I play. It is "No Man's Sky",which is a s

Re: how many OSes run on IBMz

2019-01-24 Thread Bernd Oppolzer
what a strange typo ... "- if it really would run on a current z Hardware" of course Am 24.01.2019 um 13:52 schrieb Bernd Oppolzer: Am 24.01.2019 um 13:25 schrieb R.S.: W dniu 2019-01-24 o 13:17, John McKown pisze: This is mainly a curiosity question. I know of: z/OS, z/VSE, z/

Re: how many OSes run on IBMz

2019-01-24 Thread Bernd Oppolzer
Am 24.01.2019 um 18:01 schrieb R.S.: W dniu 2019-01-24 o 14:44, Parwez Hamid pisze: All depends whether you are asking about 'current' Z systems or the older ones. You can add the following: KVM Hitachi’s operating system, VOS Well, IT DEPENDS. KVM is Linux based hypervisor. Is it OS? Mayb

Re: [EXTERNAL] Re: how many OSes run on IBMz

2019-01-25 Thread Bernd Oppolzer
After some thinking it became clear to me what you have in mind :-) BS is the German abbreviaton for operating system (BetriebsSystem). Kind regards Bernd Am 25.01.2019 um 08:25 schrieb Sankaranarayanan, Vignesh: I can't help but laugh at the names BS2000 and BS3000. LMAO! – Vignesh Mainfram

Re: [EXTERNAL] Re: how many OSes run on IBMz

2019-01-26 Thread Bernd Oppolzer
Outside USA, the two-letter acronym BS would probably not trigger automatically the same reflex. At least it took me some seconds yesterday to understand why the other poster was laughing about the name of BS2000. Funny: yesterday evening (after this mail dialog) I went to the cinema and watched

calling a webservice using HTTPS from batch (and CICS)

2019-03-10 Thread Bernd Oppolzer
Hello all, some months ago, I wrote a program which allows to call webservices (HTTP POST or HTTP GET) from batch programs, written in C or PL/1. The program (subroutine) is written in C and uses the standard TCP/IP socket interface, available in the classical z/OS environment. I am doing all

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

2019-03-12 Thread Bernd Oppolzer
protocol enabler in assembler. Coding is simple. Works well. I only use it outside of cics. Btw, i tried it with other protocols like syslog and it works just fine. ITschak בתאריך יום א׳, 10 במרץ 2019, 18:55, מאת Bernd Oppolzer ‏< bernd.oppol...@t-online.de>: Hello all, some months ago, I w

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

2019-03-19 Thread Bernd Oppolzer
d On Tue, Mar 12, 2019 at 7:40 PM Bernd Oppolzer wrote: Thank you all for your valuable answers. I found this presentation in the meantime: http://www.newera.com/INFO/11-2017_Web_Enablement_Toolkit.pdf and this: http://ibmsystemsmag.com/mainframe/administrator/systemsmanagement/client-web-enabl

Re: Using DFSORT to generate data

2019-03-28 Thread Bernd Oppolzer
Am 28.03.2019 um 19:01 schrieb Paul Gilmartin: On Thu, 28 Mar 2019 10:18:23 -0700, Sri h Kolusu wrote: Kolusu, I would like one little tweak, if you please - is it possible to get the timestamp fresh on each record, instead of using the same timestamp value for all of them? Bill, Unfortunatel

Re: EPSILON?

2020-05-27 Thread Bernd Oppolzer
Did you read the part in the manual about the general registers being 8 bytes long and containing an integer and and address part, one of them controlling the "space" and the other the address within the space? Sounds much like access registers to me ... but I didn't examine all the details. S

COBOL Question

2020-06-05 Thread Bernd Oppolzer
Don't know if this is the right place to ask ... after 25 years playing with other languages like PL/1, C and ASSEMBLER, I have now to work with COBOL again. Took me some time to get started, because my COBOL knowledge was at a, say, 1970s level :-) Now I am in the 4th month of my assignment, an

Re: COBOL Question

2020-06-05 Thread Bernd Oppolzer
1 schrieb Seymour J Metz: I'm pretty sure that the issue is operator precedence. (SMOD (IND1) = 'B' OR 'R') means (SMOD (IND1) = 'B' OR SMOD (IND1) = 'R') -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ____

Re: COBOL Question

2020-06-05 Thread Bernd Oppolzer
me way as arithmetic operators '*' (multiply) and '+' (add). Without parentheses the higher-precedence operations are combined first. HTH Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bernd Oppolzer Sent: Friday, June 5, 2020 1:11 PM To: IBM-MAIN

Re: COBOL Question

2020-06-05 Thread Bernd Oppolzer
I hope you don't mind if I comment once again; my original coding was:     IF TVOLL (IND1) NOT = HIGH-VALUE     AND SMOD (IND1) = 'B' OR 'R' and as I learned now from your helpful posts, this is expanded to     IF TVOLL (IND1) NOT = HIGH-VALUE     AND SMOD (IND1) = 'B' OR SMOD

Re: COBOL Question

2020-06-05 Thread Bernd Oppolzer
This triggered me once more, sorry :-) I recall that we once did a larger project, checking all the PL/1 sources at a customer of mine, looking for errors in program logic, using a tool that I wrote (sort of a light weight, yet powerful, PL/1 parser). The parser threw errors (observations) on ab

Goto Statements (was: COBOL Question)

2020-06-07 Thread Bernd Oppolzer
Thank you very much for the link to that article; I did not know that before. When I started to work on the Stanford Pascal compiler in 2011, it had about 20 to 30 labels and Gotos (6000 lines of source code). http://bernd-oppolzer.de/job9.htm In the meantime, I omitted most of them, but thi

Re: Reading a dump

2020-06-19 Thread Bernd Oppolzer
Hello Ze'ev, maybe I can help you, please contact me offline. Thanks, kind regards Bernd Am 20.06.2020 um 00:23 schrieb Ze'ev Atlas: I admit that I am rusty and did not look at any dump for decades, and when I did I was coding either Assembler or COBOL and I knew how to decipher the thing.

Re: OOBOL and English was Re: Still COBOL After All These Years?

2020-07-18 Thread Bernd Oppolzer
This reminds me of a very old story (begin of 1990s). I once had to write a translator for a report generator language (not RPG, but similar), which was in use on Polish ODRA computers (ICL clone). The target language was COBOL. After some weeks of work, I delivered the first version. The "cust

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Bernd Oppolzer
-- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- Oppolzer-Informatik Dipl. Inf. Bernd Oppolzer Bärenhofstraße 23 70771 Leinfelden-Echterdingen

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Bernd Oppolzer
slash will probably be ignored ... in the best case. Kind regards Bernd Am 11.09.2020 um 08:47 schrieb Bernd Oppolzer: IMO, you can also set the environment variables directly as follows: //FTPXFER  EXEC PGM=FTP,REGION=4292K, //    PARM=('POSIX(ON) ALL31(ON)', //   'ENVAR("

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

2020-09-22 Thread Bernd Oppolzer
I've done similar things for other languages (C, PL/1, ASSEMBLER), but not for COBOL. Some remarks: - the desired name of the caller needs to be specified more precisely. By examining the save area chain, it is possible to retrieve the entry point of the calling procedure (Reg 15 in the save a

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
This double meaning of =, together with the absence of reserved words makes PL/1 parsing extremely hard. Consider for example IF (1) = (2); now what does that mean? Given a declaration DCL IF (25) BIN FIXED (31); that is, if IF is an array of integers, the "IF" statement above is a valid ass

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
and Pascal :-) Pascal makes the same difference between := (assignment) and = (comparison) So does C. BTW: a free Pascal compiler for mainframe targets: http://bernd-oppolzer.de/job9.htm https://www.facebook.com/StanfordPascal https://github.com/StanfordPascal/Pascal unfortunately only AMODE 24 a

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
Am 16.07.2019 um 20:40 schrieb Seymour J Metz: Pascal makes the same difference between := (assignment) and = (comparison) Pascal is a castrated version of Algol 60, Hmmm ... the only feature that Pascal lacks IMO is call-by-name, but this is something not easy to understand (and explain) to t

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
very bad form to knowingly use a keyword as an identifier. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Bernd Oppolzer Sent: Tuesday, July 16, 2019 2:22 PM To: IBM-MAIN@LISTSERV.UA.EDU

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
Am 16.07.2019 um 21:22 schrieb Seymour J Metz: Furthermore: the more modern languages like Pascal, C and Java etc. forbid the use of reserved symbols as variable names. This may be restrictive, but makes the compilers much much simpler. The cardinal sin in language design is to make the compiler

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-16 Thread Bernd Oppolzer
Am 16.07.2019 um 22:16 schrieb Paul Gilmartin: On Tue, 16 Jul 2019 21:37:38 +0200, Bernd Oppolzer wrote: Am 16.07.2019 um 21:22 schrieb Seymour J Metz: Furthermore: the more modern languages like Pascal, C and Java etc. forbid the use of reserved symbols as variable names. This may be

Re: Where put the notional constant in a condition (Was RE: JCL COND Parameter)

2019-07-17 Thread Bernd Oppolzer
Am 17.07.2019 um 19:54 schrieb Paul Gilmartin: On Wed, 17 Jul 2019 12:22:35 -0400, Steve Smith wrote: The original sin was making "=" the assignment operator. I guess we can blame that on FORTRAN, and it must make mathematicians cringe still. I once (ca. 1967) needed to enlighten and disillu

Re: XTIOT impact?

2019-07-29 Thread Bernd Oppolzer
Most "practical" uses of TIOT searches are for user programs which try to check if there is a certain DD statement in the job step JCL, used to control a certain program action. For me, this is a sort of "third way" of parameter passing to programs, besides normal JCL parameters and environment.

Re: XTIOT impact?

2019-07-29 Thread Bernd Oppolzer
quot; statement in XL C/C++. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bernd Oppolzer Sent: Monday, July 29, 2019 4:50 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: XTIOT impact? Most "practical" uses of TIOT searches are for user programs which try

Re: XTIOT impact?

2019-07-30 Thread Bernd Oppolzer
metz3 From: IBM Mainframe Discussion List on behalf of Bernd Oppolzer Sent: Monday, July 29, 2019 6:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: XTIOT impact? It's even simpler: I want to know, if the DDNAME is present in the Job Step JCL, don't care for dyna

Re: Text to excel

2019-09-03 Thread Bernd Oppolzer
Using CSV, as suggested by others, is possible, but has many pitfalls. I used another format called SLK or SYLK successfully in some projects, which is much better with respect to ExCel column types and allows for some limited layout features. Look here: https://en.wikipedia.org/wiki/SYmbolic

Re: I see a need for general conversion of mappings was Re: C headers in z/OS 2.4

2019-09-22 Thread Bernd Oppolzer
When Pascal is mentioned in this Mainframe related mailing list, this triggers me, of course. I am the current maintainer of the New Stanford Pascal compiler, which runs on MVS, VM (and on Windows, OS/2, Linux, MacOS, BTW) and on modern z/OS (and probably z/VM), too ... although limited to AMODE

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

2019-10-17 Thread Bernd Oppolzer
STIMER WAIT for a small amount of time; I did this some years ago, when I wanted to show to some students how some parallel running subtasks wrote their messages not sequentially, but mixed; but, as it turned out, every subtask did its complete work in one step, once started, because it never ret

Re: How can I generate a UUID in a z/OS COBOL Program

2019-10-31 Thread Bernd Oppolzer
The tricky bit here is: the UUID consists of a timestamp part and a machine specific part, and, with mainframes, this machine specific part must contain the CPU serial number and the LPAR number. Otherwise the UUIDs will not be unique accross different LPARs on the same machine. To build UUID

Re: Tracking called (non-main) programs using SMF records

2019-11-15 Thread Bernd Oppolzer
This does not give you call relations, where programs are statically linked. And static analysis (related on source code) does not give you relations, where the name of the callee comes from a table or is computed at run time. That's what a former customer did (besides static analysis, which wa

Re: Searching the ASVT

2023-02-05 Thread Bernd Oppolzer
Thank you all for this discussion; I have learned something new :-) Would you kindly look at this coding and tell me, if it is correct in your opinion, and if it is allowed to execute this by non-privileged programs? What macro calls do I need to get the needed definitions (CVT, ASVT, ASCB)?

BookManager

2023-02-28 Thread Bernd Oppolzer
What is the preferred way to convert BookMgr books to PDF? My customer has some home-written BookMgr books, which they cannot access after the z/OS migration (BookMgr support was dropped with z/OS 2.4). We managed to transfer the books to Windows (and OS/2, BTW), where we can at least look at th

Re: Full TRAP feature support [was: RE: Re: z/OS 3.1 Announcement US Letter]

2023-03-01 Thread Bernd Oppolzer
FWIW, some years ago (maybe 2010), I replaced the breakpoint mechanism in a home grown debug tool written by my customer; the breakpoints were implemented by capturing the S0C1 interrupts of hex zero insertions into the load module instead of real opcodes. I now insert TRAP2 instead of hex zer

Re: Full TRAP feature support [was: RE: Re: z/OS 3.1 Announcement US Letter]

2023-03-01 Thread Bernd Oppolzer
Am 01.03.2023 um 19:51 schrieb Martin Trübner: I know of one big z/OS installation that has a debugger in use that uses TRAP (and the author is on IBM-main as well) That's me ... but as I said in the other mail, I am not the author of the debugger; I am only the maintainer today, and I chang

Re: Question for our international friends (mostly)

2023-03-17 Thread Bernd Oppolzer
not exactly "six" ... more like "tsix", the first letter sounds like a Z in Germany, a letter T followed by a letter S. It comes to my mind that most other languages don't pronounce the letter Z this way, only we Germans do ... the other (like French and English) simply say S. For example zebr

Re: Question for our international friends (mostly)

2023-03-17 Thread Bernd Oppolzer
There is a (sort of) rule, that C before I and E is pronounced like T-S (or S in France, I guess), but before other vocals like K (as in coffee). So for us in Germany, CICS as t-s-icks is logical. Kind regards Bernd Am 17.03.2023 um 21:10 schrieb Bernd Oppolzer: not exactly "six"

Re: Question for our international friends (mostly)

2023-03-17 Thread Bernd Oppolzer
Very interesting discussion. I recently tried to understand what the correct pronounciation of the word "router" is, because here in Germany there are different opinions. And I learned in the end, that BOTH ways are correct, like "rooter" and (don't know how to spell the other, maybe) "row-ter

Re: Question for our international friends (mostly)

2023-03-18 Thread Bernd Oppolzer
ate says: clearing, the German word is: Lichtung). I didn't know about this homonym so far. Thank you again. Kind regards Bernd Am 18.03.2023 um 05:57 schrieb Tony Harminc: On Fri, 17 Mar 2023 at 21:38, Bernd Oppolzer wrote: Very interesting discussion. I recently tried to understan

Re: BookManager

2023-03-20 Thread Bernd Oppolzer
from the books directly. Kind regards Bernd Am 28.02.2023 um 18:59 schrieb Bernd Oppolzer: What is the preferred way to convert BookMgr books to PDF? My customer has some home-written BookMgr books, which they cannot access after the z/OS migration (BookMgr support was dropped with z/OS 2.4).

Re: ASM call by value

2023-03-26 Thread Bernd Oppolzer
Sorry that I post to the original question; that's because most of the answers so far missed the point. Call by value means that a value is passed to the caller; call by reference means that a reference (technically: an address) is passed to the caller. In ASSEMBLER:    CALL SUBPROG,(A,B,C),V

Re: ASM call by value

2023-03-26 Thread Bernd Oppolzer
Sorry ... in some places: replace "caller" by "called prog" ... Am 27.03.2023 um 08:49 schrieb Bernd Oppolzer: Sorry that I post to the original question; that's because most of the answers so far missed the point. Call by value means that a value is passed to the

Re: ASM call by value

2023-03-26 Thread Bernd Oppolzer
by value calls. Kind regards Bernd Am 27.03.2023 um 08:52 schrieb Bernd Oppolzer: Sorry ... in some places: replace "caller" by "called prog" ... Am 27.03.2023 um 08:49 schrieb Bernd Oppolzer: Sorry that I post to the original question; that's because most of the a

Re: ASM call by value

2023-03-27 Thread Bernd Oppolzer
glad that you don't have to deal with call by name. From: IBM Mainframe Discussion List on behalf of Bernd Oppolzer Sent: Monday, March 27, 2023 2:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ASM call by value Sorry that I post to the original questio

Re: ASM call by value

2023-03-27 Thread Bernd Oppolzer
double is at 8(r1). The VALUEs of the doubles are passed, not the addresses. You cannot call this function using the ASSEMBLER CALL macro. No chance. Kind regards Bernd Am 27.03.2023 um 13:10 schrieb Bernd Oppolzer: Implementation enforces semantics in this case ... The C implementation (on

Re: ASM call by value

2023-03-27 Thread Bernd Oppolzer
tics. Again, what call by value is all about is that the caller's variable in not altered, regardless of how the compiler enforces that. The whole shtick with R1 and DSA is not part of the semantics. From: IBM Mainframe Discussion List on behalf of

Re: ASM call by value

2023-03-27 Thread Bernd Oppolzer
t on behalf of Bernd Oppolzer Sent: Monday, March 27, 2023 9:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ASM call by value What is important to me at least: a parameter passing mechanism where addresses are passed and the value on the caller's side cannot be altered (because it has been co

Re: ASM call by value

2023-03-27 Thread Bernd Oppolzer
parameter P ... who knows? The definition doesn't tell it. HTH, kind regards Bernd Am 27.03.2023 um 16:13 schrieb Bernd Oppolzer:    DCL X BIN FIXED (31);    CALL SUB ((X)); SUB: PROC (P);    DCL P BIN FIXED (31);    END SUB; The statement CALL SUB ((X)); creates a dummy argument for X (that

Re: Stop the ragging on COBOL please [was: RE: ASM call by value]

2023-03-28 Thread Bernd Oppolzer
With the clever use of GOTOs and the use of different variables with strange names for the same purpose, you can even turn a less than 1000 lines COBOL program completely unreadable. I see such programs almost every day. The biggest obstacle for keeping large COBOL programs maintainable is th

Re: Stop the ragging on COBOL please [was: RE: ASM call by value]

2023-03-28 Thread Bernd Oppolzer
ap. After that lesson, and me having graded it, code started to have meaningful comments and better to understand variable names and logic. I never pulled the second one on them because I felt the mission and lesson had been accomplished. I think more instructors should do things like this.

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
Am 30.03.2023 um 21:32 schrieb Paul Gilmartin: What code does the compiler generate when a long scalar such as _Decimal128 is passed by value? The C compiler - at least - puts the long scalar in the reg1 list where it uses more than 4 bytes. "call by value" in my understanding means, that val

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
Am 30.03.2023 um 21:32 schrieb Paul Gilmartin: Does C use the CALL VL convention? C has a portable solution for functions with a varying number of parameters, that is the mechanism defined in the ANSI header Most interesting, these sort of functions - like printf() and scanf() - need to hav

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
See answers below Am 31.03.2023 um 01:23 schrieb Paul Gilmartin: On Thu, 30 Mar 2023 23:39:30 +0200, Bernd Oppolzer wrote: "call by value" in my understanding means, that values are passed, not addressed. With the mainframe (or z/OS and CMS) linkage convention, this means, that valu

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
m 31.03.2023 um 01:42 schrieb Bernd Oppolzer: See answers below Am 31.03.2023 um 01:23 schrieb Paul Gilmartin: On Thu, 30 Mar 2023 23:39:30 +0200, Bernd Oppolzer wrote: "call by value" in my understanding means, that values are passed, not addressed. With the mainframe (or z/OS and CMS) li

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
o (with our help, of course). Kind regards Bernd Am 31.03.2023 um 01:54 schrieb Bernd Oppolzer: The function @PRINTF4 is also shown in the IBM example: |/* this example demonstrates C/Assembler ILC */ /* part 3 of 3 (other files

Re: ASM call by value

2023-03-30 Thread Bernd Oppolzer
Am 31.03.2023 um 02:12 schrieb Frank Swarbrick: Because of the linkage pragma that specifies "OS" I imagine that, although the C code is defined as "pass by value", the OS linkage overrides it to be passed by reference. Just a guess; I don't have a C compiler. this is true ... see my other p

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
Does this mean that, in the cases where the argument fits within the width of the parameter list, PL/X passes the actual value somehow? (which IMO means: the value goes into the parameter list). Or does it also in these cases only rely to the interface definition (and calls by reference)? Sor

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
Am 02.04.2023 um 16:29 schrieb Seymour J Metz: Regardless of the implementation, call by reference is about more than efficiency; sometimes a subroutine is required to alter one of its parameters, and call by value doesn't allow that. That's well known; most C textbooks tell that call by valu

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
ters, too, which means: copy and call by reference, much the same as dummy arguments in PL/1 or - as I learned recently - CALL BY CONTENT in COBOL). Kind regards Bernd Am 02.04.2023 um 16:41 schrieb Bernd Oppolzer: Am 02.04.2023 um 16:29 schrieb Seymour J Metz: Regardless of the implementatio

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
I will try to answer one of your questions, see below ... kind regards / Bernd Am 03.04.2023 um 01:32 schrieb Paul Gilmartin: On Sun, 2 Apr 2023 22:37:53 +, Frank Swarbrick wrote: I'm just going to put this out there... Dingus has an online test C compiler, which outputs the generated

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
Am 03.04.2023 um 00:37 schrieb Frank Swarbrick: Something to note, and it's not supported by C as far as I am aware, is neither of these are "pass by content". Pass by content is "pass address of a copy of the field". So a copy is done, as with fun2, but the parameter list pointed to by R1 is

Re: ASM call by value

2023-04-02 Thread Bernd Oppolzer
Now I'll try an answer to the other question(s), see below ... Am 03.04.2023 um 01:32 schrieb Paul Gilmartin: Are the external semantics (not examining the generated assembly) of "pass by content" any different from "pass by value"? How? maybe not It would seem more efficient for the call

Re: Unzip on z/OS ?

2023-04-04 Thread Bernd Oppolzer
Am 04.04.2023 um 23:37 schrieb Charles Mills: I just had a similar problem: "how do you determine your entry R0 from C?" I asked here and got no answer. with native C, this is not possible IMO; what I did: I wrote a (very small) ASSEMBLER routine which can be called from everywhere and simpl

Re: Unzip on z/OS ?

2023-04-04 Thread Bernd Oppolzer
  GLEITKOMMAREGISTER NULL STD   2,8(R2) BIS SECHS STD   4,16(R2) STD   6,24(R2) * LM    RE,RC,12(RD)    REGISTER ZURUECKLADEN XR    RF,RF BR    RE * END   CCREGS Am 05.04.2023 um 03:43 schrieb Bernd Oppolzer: Am

Re: LE runtime

2023-04-06 Thread Bernd Oppolzer
Thanks. This (to me) seems related to the fact that PL/I still can produce "classic" load modules, while COBOL and C++ create program objects, which must reside in PDSEs. With C++ (I guess), this is due to the fact that (writable) static data can be initialized not only by static initializers

Re: LE runtime

2023-04-06 Thread Bernd Oppolzer
Binder? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bernd Oppolzer [bernd.oppol...@t-online.de] Sent: Thursday, April 6, 2023 3:18 AM To: IBM-MAIN@LISTSERV.UA.EDU S

Re: LE runtime

2023-04-06 Thread Bernd Oppolzer
IMO, the other languages (PL/I, C) also support building program objects and very large programs (> 16 MB), but COBOL with the newest compiler version REQUIRES even small programs to live in PDSEs (as program objects) and does not allow old (classic) load modules. I'm not sure about this, but

Re: LE runtime

2023-04-06 Thread Bernd Oppolzer
itional load module in a PDS. I do it all the time. Charles On Thu, 6 Apr 2023 09:18:28 +0200, Bernd Oppolzer wrote: Thanks. This (to me) seems related to the fact that PL/I still can produce "classic" load modules, while COBOL and C++ creat

Re: COBOL question: How to dynamically get the name of the routine that called you

2023-05-02 Thread Bernd Oppolzer
Is this z/OS? I hope so ... You say: I need this for determining from where a high-usage subroutine is being called unnecessarily in a large main program (many called modules with multiple levels of CALL, but no recursion). are these modules separate load modules which are dynamically called a

Re: Checkpoint/restart in COBOL applications?

2023-06-18 Thread Bernd Oppolzer
I don't understand what's the implication of z/OS here; we are using Smart/Restart, too, but IMO this is only application programming, no support from the OpSys needed. Applications running with Smart/Restart write Checkpoints with every DB2 Commit, that is, they record the keys involved with

Basic VM/CMS question (GENMOD)

2023-07-11 Thread Bernd Oppolzer
Hello all, I know that this is maybe not the right list for asking questions on the VM/CMS system, but forgive me ... I am registered to many lists, but no VM list, and today I have a problem which could be a simple problem, so I would like to try it here. I am trying to build my Pascal compi

Re: Basic VM/CMS question (GENMOD)

2023-07-11 Thread Bernd Oppolzer
" REQUIRES 246K MORE STORAGE Ready(00104); ??? Any suggestion is appreciated ... Kind regards Bernd Am 11.07.2023 um 22:24 schrieb Bernd Oppolzer: Hello all, I know that this is maybe not the right list for asking questions on the VM/CMS system, but forgive me ... I am registered to many l

Re: Basic VM/CMS question (GENMOD)

2023-07-11 Thread Bernd Oppolzer
    S R2,FREELOWE  WILL MODULE FIT IN STORAGE ?     BP    BADSIZE  YES I will have to examine this and try to find out what's wrong with this in modern z/VM. Sorry again, have a nice day. Bernd Am 11.07.2023 um 22:50 schrieb Bernd Oppolzer: Update: the error only oc

Re: Change how LE allocates storage (subpool,key)

2023-07-13 Thread Bernd Oppolzer
If there is no explicit LE option to override the standard subpools (which are 1 and 2, AFAIK), then I would try to use the LE option which allows to have an alternate heap handler and use a modified version of the standard LE handler. I don't recall the names of the runtime options, but I used

Re: Change how LE allocates storage (subpool,key)

2023-07-13 Thread Bernd Oppolzer
f a modified version of the Standard LE heap manager (with other subpools) or: a modified version of CEL4MCHK with traces disabled or ??? In any case, I personally would not change the behaviour of standard LE in the first place. HTH, kind regards Bernd Am 14.07.2023 um 01:55 schrieb Bernd Opp

Re: Userid schemes

2023-07-13 Thread Bernd Oppolzer
In my customer's company, we had such a scheme for decades: first letter X for external, S or L for division next letter S or M or K ... for city (where the department is located) then two digits department number (38, 91, 95, ...) then three chars from the name (OPP in my case) that made XS95OP

Re: Basic VM/CMS question (GENMOD)

2023-07-15 Thread Bernd Oppolzer
Thank you very much ... I have legacy code here which is from 1979 and 1982, and the primary targets are VM/370 and MVS 3.8, but I'm very happy that it runs on current z/OS and current z/VM, too ... and it will sure run after some minor corrections also from "real" MODULEs and not only via LOAD

Re: Is the IBM Assembler List still alive

2023-09-02 Thread Bernd Oppolzer
Not true. I'm currently working for 2 customers (insurance companies), both use "high level" languages like COBOL and PL/1 (and C), but in both companies there is a need for ASSEMBLER coding now and then, be it enhancement to compile supporting routines retrieving sources from CA Librarian libra

Re: Is the IBM Assembler List still alive

2023-09-03 Thread Bernd Oppolzer
+1 and I believe, I said virtually the same before, that makes 2 persons :-) Am 03.09.2023 um 22:41 schrieb g...@gabegold.com: That "one person's experience" was widely shared among the VM community -- hundreds of people collectively helping their installations benefit from what assembler la

Re: Is the IBM Assembler List still alive

2023-09-03 Thread Bernd Oppolzer
FWIW: I have a computer science degree from the university of Stuttgart, Germany (from 1977 to 1985). We learned Pascal first, then different Assembler languages. During my studies, I got interested in compiler construction, and I am the maintainer of the New Stanford Pascal compiler today, lo

Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
So your JCL expertise qualifies you as a systems programmer ... that's interesting. Am 04.09.2023 um 17:57 schrieb Bill Johnson: To claim people who don’t code assembler or read dumps aren’t systems programmers is idiotic. ... I learned zero JCL in college. I learned and became an expert at

Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
I offer training classes, Steve Thompson does. If a company really wants ASSEMBLER training, they can find it here. Am 04.09.2023 um 22:35 schrieb Bill Johnson: I love how many of you downplay others who don’t do what you do. And act like it’s inferior. Plus, puff yourselves up simply for pro

Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
Hi Peter, this reminds me of another story ... some day my customer (a large insurance company here in Germany) asked me to talk with their IBM rep, because we had a severe problem with one of the DB2 components which I discovered, and I was asked to have IBM fix it or otherwise provide a solu

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
It will not work, because almost every single instruction has an error or two. Every programmer with a little bit ASSMBLER experience can see this; this ChatGPT program has no grasp of instruction formats, DCBs or the proper use of I/O macros. I will not go into the details here ... the ASSEMBLE

Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
06.09.2023 um 00:49 schrieb Bill Johnson: Offering? To me it sounds like there’s no demand or there would actually be classes available to select as we write. There’s really nothing scheduled and likely won’t be. Because there’s no demand. Sent from Yahoo Mail for iPhone On Tuesday, September

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
I am not bashing it. I am simply telling you that it has a bunch of errors and it will not work. It's kind of interesting to me that, while I try to answer repectfully to your mails, almost every answer from you contains the word "idiot" or "idiotic", which is the same in German, so I understa

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
I told you "I try to answer respectfully" ... doesn't work always, especially if I am called an idiot in the very same mail that I am answering to. Kind regards Bernd Am 06.09.2023 um 01:53 schrieb Bill Johnson: If you consider this respectful, there’s something wrong with you. “So your JC

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
. https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER Kind regards Bernd Am 06.09.2023 um 01:47 schrieb Bill Johnson: I never presented it as a working model. Sent from Yahoo Mail for iPhone On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
(not specific). So my Hello World program would qualify, too. It would be interesting to know how ChatGPT determines which sources are more reliable than others ... Kind regards Bernd Am 06.09.2023 um 03:19 schrieb Bernd Oppolzer: FWIW: ChatGPT could have used this ASSEMBLER program, which

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
Maybe the program disqualifies because of the German comments? But: this should be no problem for ChatGPT ... translation to english ... Kind regards Bernd Am 06.09.2023 um 03:31 schrieb Bernd Oppolzer: What I meant to say: it would have been better, if ChatGPT had used this (my) ASSEMBLER

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
s ... we'll see how long it takes until my corrections are verified by the Wikipedia people and online. All in German ... sorry about that. Kind regards Bernd Am 06.09.2023 um 03:35 schrieb Bernd Oppolzer: Maybe the program disqualifies because of the German comments? But: this shou

Re: Simple request from chatGPT to write assembler program.

2023-09-06 Thread Bernd Oppolzer
st May.  Beautiful city and it was fun trying to understand the language based on a high-school class. On 9/5/2023 6:19 PM, Bernd Oppolzer wrote: FWIW: ChatGPT could have used this ASSEMBLER program, which I posted some years ago to German Wikpedia ... this does not do the addition of two

Re: Simple request from chatGPT to write assembler program.

2023-09-06 Thread Bernd Oppolzer
What you are quoting (1., 2., 3.) are facts ... of course true, and nothing to dispute about. But your conclusions are wrong ... Assembler is of value anyway; Ray Mullins DID say that. For example for studying the outcome of translators and for performance analysis etc. IMO knowledge of Assemble

Re: Simple request from chatGPT to write assembler program.

2023-09-06 Thread Bernd Oppolzer
Ok ... not quire correct, but: the first ASSEMBLER languages go back to the years 1947 to 1951, if my sources are right; there was some sort of ASSEMBLER for the 701 (which was available in 1953, IIRC). The first HLL was Fortran, IMO, which should be 1956 ca. So there are some years in the 1950

  1   2   3   4   5   6   7   >