"Shen Jianjun" <ipacsjj@public.sta.net.cn> wrote:

>For the spool file when you use before keywords,
>it is useless to view with  the WRKSPLF. I only know
>I must print out to view. Is there any way?

Shen,

I think Buck's answer is a good one. I use those keywords all the time and
I test my printouts by looking at the WRKSPLF output. Only rarely do I need
physically to print anything. The main limitation of WRKSPLF I find is when
there is overprinting.

As Buck said, look in the top right corner of the screen where you can see
Page/Line. Enter +1 in the control field and press Enter to go down one
line at a time. For example, I have the following lines in a source
program.

     C                     ENDDO
      /EJECT
     C           UPD55     BEGSR

When I look at the compiled program with WRKSPLF I see:

*...+....1....+....2....+....3....+....4....+....5..
     1600  C                     ENDDO
 5769RG1 V4R2M0  980228                IBM RPG/400
 SEQUENCE
 NUMBER    *...1....+....2....+....3....+....4....+.
     1800  C           UPD55     BEGSR

and the top right of the screen shows:

Page/Line   5/14
Columns     1 - 130

If I go down 1 line this changes to:

*...+....1....+....2....+....3....+....4....+....5.
 5769RG1 V4R2M0  980228                IBM RPG/400
 SEQUENCE
 NUMBER    *...1....+....2....+....3....+....4....+
     1800  C           UPD55     BEGSR
     1900   *

and:

Page/Line   6/1
Columns     1 - 130

Going down 1 further line I see that Page/Line changes to 6/3 indicating
that there is a blank line between the 5769RG1 and SEQUENCE lines. How does
 this not give you what you want?

Dave Kahn, ABB Steward Ltd.


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].