HI,
yes you can retrieve the source by reading the source physical file and the member through a CLP or a RPG program. YOu can retrieve all the lines there one by one.
hope this will help.
regards
=============================================================
If source exists and the source info is stored in the object description:<pre>
RTVOBJD OBJ(MYLIB/MYDSPF)
OBJTYPE(*FILE)
SRCF(&SRCF)
SRCFLIB(&SRCFLIB)
SRCMBR(&SRCMBR)</pre>
That's one simple way to see what it's supposed to be.
However, I'd be very wary of relying on the source info if I was needing to determine actual formatting. Instead, I'd call the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qdfrtvfd.htm">Retrieve Display File Description (QDFRTVFD) API</a> to find out what the DSPF itself said. The source might have been modified and not yet compiled or any number of other things could have happened.
Tom
Last Wiki Answer Submitted: March 5, 2010 1:14 am by ten20081,150 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
BTW, do you have a way of guaranteeing that it will always be a DDS DSPF? What if it’s a USRDFN user-defined format? What if the screen was built with DSM? What if it’s a UIM application? I use all three at times.
BTW, do you have a way of guaranteeing that it will always be a DDS DSPF? What if it’s a USRDFN user-defined format? What if the screen was built with DSM? What if it’s a UIM application? I use all three at times.
Tom