sponsored links

Collapse

Announcement

Collapse
No announcement yet.

How to retrieve PRTF source

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to retrieve PRTF source

    Hi,

    I have a printer file object(which is generated thru an rpg program) - However the source for this object is not available.

    Is there any way to retrieve the source for this PRTF object.

    I need to figure out what values are written to this printer file.

    vino,

  • #2
    Re: How to retrieve PRTF source

    you say it's generated thru an RPG program? does that mean it's actually an internally described O specs or is it an external printer file that is simply used by RPG to produce output? if it's internally described and the program is RPGLE with DBGVIEW(*SOURCE) (or *LIST,etc.) then just putting the program in debug will show you the actual source code for the program. also by "what values are written to this printer file" what exactly are you asking for? variable names, constants, what???
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: How to retrieve PRTF source

      This might get you started

      http://home.windstream.net/craigru/jcrdown.html

      jamie
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: How to retrieve PRTF source

        I need to figure out what values are written to this printer file
        You can do a dspffd against the print file to determine the fields which are output assuming it is a "true" externally defined print file and not a generic copy of qsysprt etc.

        Best of Luck
        GLS
        The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

        Comment

        sponsored links

        Collapse

        Working...
        X