PL/1 was a favorite of mine, too. I haven't used it in about 50 years, however. My other favorites have been IBM assembler, APL, and now Python. With PL/1 I saw many problems caused by a mismatch in converting the contents of variables of different types. Seems like my idea of what I was asking never matched what the compiler assumed. I adapted by making it a rule for myself to always specify the conversion I wanted explicitly. Why does the cataloged procedure end in CPLG? I expected simply CLG. Thanks for posting this.
I used to program in PL/1 (and also C - on a mainframe!) but not for more than 20 years. This was a blast from the past! I liked PL/1 but not the mainframe environment. Seeing JCL again made me shiver...
What nostalgia! In 1977 as a highschool freshman I won the math and computers category of the oklahoma state science fair with my Pl/1 program to compute Punnett squares. I so wish I still had the source code! I didn't have to deal with JCL (though I did later in my pro days). Our mainframe access was interactive-terminal-facility on a 2741, 30CPS teleprinter. My favorite program to write in any environment is always the "hello world"! Thanks for the series!
Oh - I just remembered...one fun trick on a 360....In ITF PL/1, allocate a large character array and put it to the output...since the array wasn't initialized, it would print out whatever was there...which often included usernames and passwords of other users! hehehehe!!! Oh....highschool!!! :-)
You did again! Very good video about PL/I! I had and error in statement line 2: Here is the solution: //PLI JOB (PLI),'HELLO ',MSGCLASS=H,REGION=100M, // CLASS=A,TIME=1440,MSGLEVEL=(1,1),NOTIFY=&SYSUID //PLICLG EXEC IBMZCPLG, // PARM='OBJECT,OPTIONS,SOURCE,XREF,NEST,OPTIMIZE=02,REF,LIST' ... I had to eliminate: LNGPRFX=IEL420, because is not found in a Z15 Thank you!
@@moshixmainframechannel Yes and to be more specific C was derived from an interpreted language called B. B was derived from BCPL and was influenced by PL/I
Thanks for the video. Do you have or do you know where can I find PL1 tutorial? It's really hard to find any material on the internet, many COBOL but no PL1...
... goddammit, t'was still real IT back in the days ... currently I'm in touch with PL/1 for a Mainframe-To-Java migration project, kind of a time capsule
Hello Moshix, can TK4- PL/1 directly read & write VSAM datasets? I know you discussed the fact that the COBOL version doesn't directly read or write VSAM data without Jay Moseley's adaptation.
Sir , help needed ,I get a JCL error that the IBMZCPLG procedure was not found .Keeping this in mind that I was not using Hercules / TK 4 but my clients development environment with the same JCL written in a PS file .
@@moshixmainframechannel Sir I found out that my clients environment never directly uses the IBMs standard procedure ( at least not explicitly ) . I found that IKJEFT01 utility is used for DB2 programs .Will it work with PLI program as well ? I thought IKJEFT01 was only for COBOL DB2.
Pl/I is one of the best programming languages ever made. There is a pre-processor feature that is amazing. I programmed PL/I for years.
PL/I is an excellent language, at least two major Greek Banks continue using it -as of 2024-, and its a lot better than COBOL by design.
PL/1 was a favorite of mine, too. I haven't used it in about 50 years, however. My other favorites have been IBM assembler, APL, and now Python.
With PL/1 I saw many problems caused by a mismatch in converting the contents of variables of different types. Seems like my idea of what I was asking never matched what the compiler assumed. I adapted by making it a rule for myself to always specify the conversion I wanted explicitly.
Why does the cataloged procedure end in CPLG? I expected simply CLG.
Thanks for posting this.
Feel free to do more PL/I videos, I I find this language fascinating!
I used to program in PL/1 (and also C - on a mainframe!) but not for more than 20 years. This was a blast from the past! I liked PL/1 but not the mainframe environment. Seeing JCL again made me shiver...
Well get back into it. It’s fun
Excelente trabajo, mi historia en Montevideo en los '75 con S370 y luego con S390 me trae muchos recuerdos felices, gracias por tu canal !!!
I worked with PL/1 for 15 years - it was the most powerful language I ever came across -especially when linked up with JCL, VSAM, IMS, and DB2
Violent agreement !
I'm here because this language was mentioned in my CS course. Its fascinating to learn how older langauges world
Last time I used it was for the millennium - we were converting assembler programs to PL/1.
What nostalgia! In 1977 as a highschool freshman I won the math and computers category of the oklahoma state science fair with my Pl/1 program to compute Punnett squares. I so wish I still had the source code! I didn't have to deal with JCL (though I did later in my pro days). Our mainframe access was interactive-terminal-facility on a 2741, 30CPS teleprinter.
My favorite program to write in any environment is always the "hello world"! Thanks for the series!
Oh - I just remembered...one fun trick on a 360....In ITF PL/1, allocate a large character array and put it to the output...since the array wasn't initialized, it would print out whatever was there...which often included usernames and passwords of other users! hehehehe!!! Oh....highschool!!! :-)
What I want to know is who is going to maintain and convert all the COBOL JCL running today.
Highly paid engineers?
PL/1 was a lot better than COBOL. I particularly liked GOTO - the purists hated it but it got you where you wanted to get to.
True
You did again! Very good video about PL/I!
I had and error in statement line 2:
Here is the solution:
//PLI JOB (PLI),'HELLO ',MSGCLASS=H,REGION=100M,
// CLASS=A,TIME=1440,MSGLEVEL=(1,1),NOTIFY=&SYSUID
//PLICLG EXEC IBMZCPLG,
// PARM='OBJECT,OPTIONS,SOURCE,XREF,NEST,OPTIMIZE=02,REF,LIST'
...
I had to eliminate: LNGPRFX=IEL420, because is not found in a Z15
Thank you!
Thanks! PL/1 is the best compiler for os/mvs/zos. Only assembler is better!
I agree ! C is a descendent if PL/I, by the way
@@moshixmainframechannel Yes and to be more specific C was derived from an interpreted language called B. B was derived from BCPL and was influenced by PL/I
@@esra_erimez yes, thanks. Well known and well documented.
Thanks for the video. Do you have or do you know where can I find PL1 tutorial? It's really hard to find any material on the internet, many COBOL but no PL1...
Google bitsavers PL/1
... goddammit, t'was still real IT back in the days ... currently I'm in touch with PL/1 for a Mainframe-To-Java migration project, kind of a time capsule
You should keep PL/I.
By the way, how does the Yiddish course work? I already know Ladino from my grandparents, so learning Yiddish would be awesome!
works fine! thanks
@@moshixmainframechannel Awesome!
Hello Moshix, can TK4- PL/1 directly read & write VSAM datasets? I know you discussed the fact that the COBOL version doesn't directly read or write VSAM data without Jay Moseley's adaptation.
No it can’t. PLI and Cobol in TK4 predate the invention of VSAM
How about ISAM?
ISAM died with MVT
Sir , help needed ,I get a JCL error that the IBMZCPLG procedure was not found .Keeping this in mind that I was not using Hercules / TK 4 but my clients development environment with the same JCL written in a PS file .
I guess you don’t have that procedure
@@moshixmainframechannel Sir I found out that my clients environment never directly uses the IBMs standard procedure ( at least not explicitly ) . I found that IKJEFT01 utility is used for DB2 programs .Will it work with PLI program as well ? I thought IKJEFT01 was only for COBOL DB2.
Hello, Mr. Moshix!
Thank you for sharing this with the World!
How do I sign the petition?
It’s too late. We sent it to IBM and they said no