MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2014

RE: how to get text output of a PF?



fixed

What are you leaving out?
1. What program were you running that an option '6' causes 'output'?
2. Where did you enter the '6'?
3. Is there a context for the '6'?
4. What do you mean by 'stuff'?

It sounds like PDM. And it sounds like your are printing the contents from a
member of a source physical file.
But all of that would be an assumption.

But if that is the case then you MAY want to use sql:

[run the sql interactive program]
STRSQL

[Create an alias to point to the member you are trying to print]
CREATE ALIAS library/aliasname FOR library/file (member)

[Change SQL session to print the results of your sql commands]
F13
Option 1. Change session attributes
Select Output: 2=Printer

[Then run this SQL Statement]
SELECT srcdta FROM library/aliasname

You will now have a spool file of your source member with no 'stuff' except
your source code.

Now if this was not what you were attempting to do then you have wasted my
time and yours.


Paul


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Hoteltravelfundotcom
Sent: Thursday, July 10, 2014 4:58 PM
To: Midrange Systems Technical Discussion
Subject: how to get text output of a PF?

I have used the Iseries NAvigator to export the output after entering '6'
and print on the green screen IBM i.
but this has all the 'stuff' on the left side. i would like it to be a clean
text file.

WHat am i leaving out?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact