Results 1 to 4 of 4

Thread: How to retrieve PRTF source

  1. #1
    Code400 Newbie Vinoth's Avatar
    Join Date
    May 2009
    Location
    Amsterdam, Netherlands
    Posts
    31
    Rep Power
    424

    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. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

  3. #2
    Harbinger of Doom tomholden's Avatar
    Join Date
    Dec 2007
    Location
    Lebanon, Tennessee, United States
    Posts
    4,312
    Rep Power
    8621

    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

  4. #3
    Driver of cars, eater of food jamief's Avatar
    Join Date
    Jan 2004
    Location
    Belvidere, IL - United States of America
    Age
    49
    Posts
    9,416
    Rep Power
    12598

    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

  5. #4
    Analyst GLS400's Avatar
    Join Date
    May 2006
    Location
    connecticut
    Posts
    1,893
    Rep Power
    5783

    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

  6. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

Facebook Comments


Similar Threads

  1. Utility for retrive source Dds PRTF from Obj
    By gio.cot in forum RPG/RPGLE
    Replies: 3
    Last Post: January 22nd, 2010, 01:54 PM
  2. Retrieve DDS source from PRTF Object
    By dhanuxp in forum DDS
    Replies: 0
    Last Post: June 17th, 2009, 12:02 AM
  3. prtf: saving compile options in source member like RLU
    By c.spiegel in forum RDP/RDi/WDSC - Tips & Tricks
    Replies: 0
    Last Post: May 28th, 2008, 01:21 AM
  4. Retrieve RPG source
    By jamief in forum Iseries Tools
    Replies: 3
    Last Post: June 26th, 2006, 02:46 PM
  5. Retrieve RPG III source
    By jidooman in forum RPG/RPGLE
    Replies: 0
    Last Post: March 18th, 2004, 10:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •