Hello world in the IBM PL/I language on the mainframe - M125

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 40

  • @svenvandevelde1
    @svenvandevelde1 7 місяців тому +2

    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.

  • @npkonstan1681
    @npkonstan1681 9 місяців тому +3

    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.

  • @JohnSGruber
    @JohnSGruber 4 місяці тому +2

    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.

  • @misterspock1
    @misterspock1 5 років тому +4

    Feel free to do more PL/I videos, I I find this language fascinating!

  • @markhodgson7241
    @markhodgson7241 3 роки тому +3

    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...

  • @charruatrico
    @charruatrico 5 років тому +2

    Excelente trabajo, mi historia en Montevideo en los '75 con S370 y luego con S390 me trae muchos recuerdos felices, gracias por tu canal !!!

  • @frogspawn7423
    @frogspawn7423 5 років тому +2

    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

  • @Nominal_GDP
    @Nominal_GDP 3 роки тому +2

    I'm here because this language was mentioned in my CS course. Its fascinating to learn how older langauges world

  • @suntexi
    @suntexi 3 місяці тому +1

    Last time I used it was for the millennium - we were converting assembler programs to PL/1.

  • @gullyfoyle-uf6fr
    @gullyfoyle-uf6fr 3 роки тому +3

    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!

    • @gullyfoyle-uf6fr
      @gullyfoyle-uf6fr 3 роки тому +1

      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!!! :-)

  • @GotoHere
    @GotoHere Рік тому +1

    What I want to know is who is going to maintain and convert all the COBOL JCL running today.

  • @simonscummer4204
    @simonscummer4204 3 роки тому +5

    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.

  • @higiniofuentes2551
    @higiniofuentes2551 3 роки тому +1

    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!

  • @semuhphor
    @semuhphor 5 років тому +3

    Thanks! PL/1 is the best compiler for os/mvs/zos. Only assembler is better!

    • @moshixmainframechannel
      @moshixmainframechannel  5 років тому +2

      I agree ! C is a descendent if PL/I, by the way

    • @esra_erimez
      @esra_erimez 5 років тому +1

      @@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

    • @moshixmainframechannel
      @moshixmainframechannel  5 років тому

      @@esra_erimez yes, thanks. Well known and well documented.

  • @feiyechen6680
    @feiyechen6680 Рік тому +1

    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...

  • @helmutkirchweger3962
    @helmutkirchweger3962 4 роки тому +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

  • @joseignaciocastrovonrodrig5613
    @joseignaciocastrovonrodrig5613 3 роки тому +1

    By the way, how does the Yiddish course work? I already know Ladino from my grandparents, so learning Yiddish would be awesome!

  • @lavaq9593
    @lavaq9593 4 роки тому +1

    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.

  • @siddharthasekhar9434
    @siddharthasekhar9434 4 роки тому

    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
      @moshixmainframechannel  4 роки тому

      I guess you don’t have that procedure

    • @siddharthasekhar9434
      @siddharthasekhar9434 4 роки тому

      @@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.

  • @joseignaciocastrovonrodrig5613
    @joseignaciocastrovonrodrig5613 3 роки тому

    Hello, Mr. Moshix!
    Thank you for sharing this with the World!
    How do I sign the petition?