Topic
6 replies Latest Post - ‏2012-04-13T11:04:40Z by homebeaver
FTDS
FTDS
9 Posts
ACCEPTED ANSWER

Pinned topic Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

‏2011-08-05T19:28:37Z |
Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?
Updated on 2012-04-13T11:04:40Z at 2012-04-13T11:04:40Z by homebeaver
  • pelderon
    pelderon
    11 Posts
    ACCEPTED ANSWER

    Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

    ‏2011-08-23T20:37:37Z  in response to FTDS
     this has been done by many users. If you have some specific questions, please post them here (perhaps not all in one post so that the easier ones can be answered while the harder ones are being resolved)
    • matsuzaki
      matsuzaki
      2 Posts
      ACCEPTED ANSWER

      Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

      ‏2012-02-15T04:27:04Z  in response to pelderon
       I'm interested in this subject.
      My PL/I program on z/OS includes many macros in the user defined macro library.
      However I could not find how to migrate these macros in the related manuals, language refernce and/or  programing guide.
      In many cases we use environment variables like  IBM.INCLUDE , but I don't know  the solution about macros.
      I appreciate someones help.
       
         
      • homebeaver
        homebeaver
        5 Posts
        ACCEPTED ANSWER

        Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

        ‏2012-02-23T13:43:57Z  in response to matsuzaki
         Hi, we use PL/1 on differnt Platforms. Development and test is done on Windows (eclipse/INDIGO & PL/I for Windows 8.0). The final Product runs on Windows and zOS. In the Beginning we have to build a makefile-system, now it runs whitout problems. The include-files can be placed in any directory, the makefile macro looks like:
         
        PLISRC = .
        PLIINC = inc
        INCLUDE = $(PLISRC);$(PLIINC);(PRODDIR)/INCLUDE/pli;$(INCLUDE)
         
        Finaly the important part of the Listing:
        No Compiler Messages

        File Reference Table

          File    Included From  Name

             0                   C:\Users\ ... \dlls\PLI\KYUTL25.pli
             1         110.0     C:\Users\ ... \dlls\PLI\inc\idp346.inc
             2          27.1     C:\Users\ ... \dlls\PLI\inc\idp347.inc
             3          28.1     C:\Users\ ... \dlls\PLI\inc\idp348.inc
             4          29.1     C:\Users\ ... \dlls\PLI\inc\idp349.inc
             5         111.0     C:\Users\ ... \dlls\PLI\mkylog00.inc
             6          64.5     C:\Users\ ... \dlls\PLI\ikycnf00.inc
             7          65.5     C:\Users\ ... \dlls\PLI\mkylog01.inc


        Component    Return Code    Messages (Total/Suppressed)    Time

        MACRO            0                0  /  0                   0 secs
        Compiler         0               39  /  39                  0 secs

        End of compilation of KYUTL25

         
        • matsuzaki
          matsuzaki
          2 Posts
          ACCEPTED ANSWER

          Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

          ‏2012-02-28T04:18:15Z  in response to homebeaver
          Thanks for your reply.
          I can pre-compile and compile successfully.
          Thanks again !!!  
  • infocat
    infocat
    1 Post
    ACCEPTED ANSWER

    Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

    ‏2012-04-12T18:32:10Z  in response to FTDS
     What is "Personal PL/I"?
    I am trying to learn PL/I and all I could find for Windows without paying an arm and a leg is a 60-day trial version of IBM VisualAge PL/I from the late 90s.
    • homebeaver
      homebeaver
      5 Posts
      ACCEPTED ANSWER

      Re: Need help converting mainframe PLI to IBM's PC based Personal PLI - anybody done it?

      ‏2012-04-13T11:04:40Z  in response to infocat
      The compiler is part of RDz (IBM Rational Developer for System z V8.0.3)
       see https://www.ibm.com/developerworks/mydeveloperworks/blogs/86d253aa-f216-4642-9f2b-eedb09087dfc/entry/welcome_to_the_ibm_pl_i_cafe?lang=en#comments
      There is a 60-day trial for RDz. To find the PL/I for Windows compiler is a little bit tricky. But it works without the RDz framework.