Newsletters Subscriptions Media Kit About Us Contact Search Home

mgo
OS/400 Edition
Volume 3, Number 49 -- July 30, 2003

View Overprinting from a Green-Screen Session


Hey, Ted:

Sometimes when working remotely I have a printer emulation session. Other times I don't. The lack of printer support is a problem when I view reports that include underlined or highlighted (double-struck) fields. When I view such a report using the Display Spooled File (DSPSPLF) command, OS/400 sends message CPI3420 ("Overprinting not displayed.") and I cannot view all the data. Is there any way for me to view overprinting from a green-screen display session?

--Mike


I know where you're coming from, Mike. I've been there myself on many occasions.

Yes, you can view overprinting in a green-screen session, sort of.

Create a program-described database file with a record length one greater than your report.

CRTPF FILE(QTEMP/SPLF) RCDLEN(133)

Use the Copy Spooled File (CPYSPLF) command to copy the report to the database file. Specify CTLCHAR(*FCFC) to include forms control characters in the first position of the copied data.

CPYSPLF FILE(QAD21P) TOFILE(QTEMP/SPLF) +
   JOB(999999/JOBUSER/JOBNAME) +
   SPLNBR(1) CTLCHAR(*FCFC)

Use the Display Physical File Member (DSPFFM) command to view the database file.

DSPPFM FILE(QTEMP/SPLF)

Look for a plus sign (+) in column 1. Any record that begins with a plus sign overstrikes the previous record when printed. In the following example, the value "Joe Smith" is double-struck and the value "Lost Angeles" is underlined.

1  493  Joe Smith     
+       Joe Smith     
        Lost Angeles  
+       ______________

--Ted


Related Articles

See "Extract Reports from Disk Files" and the "related articles" listed at the bottom of the page.


Sponsored By
COMMON

COMMON Fall 2003 Conference and Expo
IT in the Palm of Your Hand
September 7 - 11, in Orlando, Florida.

· Education: Hundreds of sessions over five days
· Networking: Meet IT professionals, IBM executives, and developers
· Influence IBM: Attend sound-off sessions
· First-Hand Look at Latest Products: Talk to the industry's top solution providers

COMMON is the best value in IT education, so don't miss out!

Click and visit www.common.org for details!


THIS ISSUE
SPONSORED BY:

Advanced Systems Concepts
COMMON


BACK ISSUES

TABLE OF
CONTENTS

Bypassing a Locked Record

View Overprinting from a Green-Screen Session

Reader Feedback and Insights: Another One-Row, One-Column Table


Editors
Howard Arner
Joe Hertvik
Ted Holt
David Morris
Shannon O'Donnell

Managing Editor
Shannon Pastore

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.