9.0 upgrade and Batch User Exit

 5 Replies
 0 Subscribed to this topic
 10 Subscribed to this forum
Sort:
Author
Messages
John Polito
Advanced Member
Posts: 24
Advanced Member
    Hello All,
    We are in the process of upgrading from 8.0.3 Apps to 9.0 Apps.
    We use a User Exit in our PR140, in 8.0.3 the module is in the PDLIB and now in the 9.0 apps it is in the PRPDLIB.
    The PR140 will not compile saying it can't the the PERFORM 2000-CSG-CUSTOM-DED. which is the main section in the user exit.

    When i do a pgmdef in production i see the user exit listed, but on the 9.0 development it isn't.

    To make a long question some what short, how do i get the PR140 to see my user exit module.

    Thanks,
    John
    Norm
    Veteran Member
    Posts: 40
    Veteran Member
      I think you're talking about a custom PDLIB, not a user exit, which aren't available for batch programs.  In 8.0.3, the PDLIB would have been in $LAWDIR//pdlib.  Move that file from your 8.0.3 product line to the new location in the 9.0.0 product line, which would be $LAWDIR//prsrc/prpdlib.

      If I remember correctly, you also have to define the pdlib in libdef so that you can tell the compiler which system code it fits into.

      I know some of our custom pdlibs also have corresponding wslibs, which get moved to their own directory and require their own setup
      Jimmy Chiu
      Veteran Member
      Posts: 641
      Veteran Member
        Need more info.
        John Polito
        Advanced Member
        Posts: 24
        Advanced Member
          Norm, Your right it is custom code for our PR140. I wasn't here when they set it up in the 8.0.3 and we are installing the 9.0 apps. Do you have any instructions on how to set it up now?
          Any help would be appreciated.

          John
          Norm
          Veteran Member
          Posts: 40
          Veteran Member
            Sorry, John. Got involved in an OS upgrade and WebSphere 6.1 upgrade on our test server last few weeks. Timing is everything isn't it...

            I'll be doing a similar function is a vouple weeks for our own upgrade, but here's what I remember from prior ones.

            1) First, bring up libdef in your 8.0.3 application instance and enter in your custom PDLIB name. The initial screen will show the WSLIB screen. Take a screen-shot as you'll need to enter all of these on the 9.0.0 side. Now do am F7 and switch to the Work FIle screen to see if you have any custom work files (I'll assume not for now)

            2) Copy the PDLIB into the prsrc/prpdlib directory of your 9.0 apps source directory. If the WSLIB screen shows a custom WSLIB, copy that to the prsrc/prwslib directory.

            3) On the 9.0.0 side, bring up libdef. If you have a custom WSLIB, set it up first (Type WsLib) and the PR system code.. Then set up the PDLIB (Type PdLib) and enter in all of the associated WSLIBs from the screen-shot.

            That should allow the PR140 to compile. If there are custom work files from step , you'll have to grab them from workdef using the metadumpwrk and metaloadwrk utilities), but I won't muddy the waters until I know you have that situation.

            Good luck (This is why I hate modifications).
            Chesca
            Veteran Member
            Posts: 490
            Veteran Member
              John, were you able to compile PR140? I am having a similar issue, I have created the user exits but I am not sure if I would have to add the library to pddlib?