Fans of IBM Z

Fans of IBM Z Hub

Fans of IBM Z Hub

Join us and share the love of IBM Z with our global community!

 View Only
  • 1.  Compiling REXX program question

    Posted Fri October 27, 2023 06:58 AM

    I am trying to compile a REXX program with the REXXL procedure using stubs.
    The program uses panels to user interface.
     
    I have used all stubs and in all cases load modules were generated successfully.
    But when I execute them fails with errors.
    With which stub should I compile a REXX program that uses panels and how should I run it?
    In its REXXC compiled version I do it with: TSO MyRexx  
    IKJ56524I COMMAND SYSTEM ERROR+
    IKJ56524I IKJCT43A RETURN CODE 99

    How can I compile and execute using REXXL procedure?

    Thanks in advance



    ------------------------------
    Leonardo Zrycki
    ------------------------------


  • 2.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 07:26 AM

    I would use CPPLEFPL 



    ------------------------------
    Lionel B. Dyck <><
    IBM z Systems Champion
    ------------------------------



  • 3.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 07:40 AM

    Hi Lionel, thanks for your very fast answer.

    If I use REXXCL with STUB-CPPLEFPL how may I invoke Mylib(MyRexPgm) load module? 



    ------------------------------
    Leonardo Zrycki
    ------------------------------



  • 4.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 07:49 AM

    It would then be invoked as you would any TSO command.

    From any ISPF command line enter TSO command option and you're good. 

    Where command is the name of the load module and option is any options for the command.



    ------------------------------
    Lionel B. Dyck <><
    IBM z Systems Champion
    ------------------------------



  • 5.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 07:56 AM

    Thanks Lionel!



    ------------------------------
    Leonardo Zrycki
    ------------------------------



  • 6.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 07:33 AM

    I have a tool I call REXXCL which is an ISPF Edit macro that prompts for the compile and then the link - get it here https://github.com/lbdyck/rexxcl



    ------------------------------
    Lionel B. Dyck <><
    IBM z Systems Champion
    ------------------------------



  • 7.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 08:12 AM

    I have another ISPF Edit command for REXX called REXXER that will invoke the REXX Compiler and then insert the error messages inline as ISPF messages.  Get it here and enjoy https://github.com/lbdyck/rexxer 



    ------------------------------
    Lionel B. Dyck <><
    IBM z Systems Champion
    ------------------------------



  • 8.  RE: Compiling REXX program question

    Posted Fri October 27, 2023 08:37 AM

    Nice Lionel, thanks



    ------------------------------
    Leonardo Zrycki
    ------------------------------