View previous topic :: View next topic
|
Author |
Message |
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
In JCL, the output file is defined as
Code: |
//STEP320.OUTPUT1 DD DSN=*.REF1(+1),
// DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=FBA,LRECL=134),
// SPACE=(CYL,(5,5),RLSE,) |
In Easytrieve
Code: |
WS-OUTPUT1-REC W 133 A VALUE ' '
WS-LAST-NAME WS-OUTPUT1-REC 20 A
WS-OUTPUT1-FILLER1 WS-OUTPUT1-REC +20 4 A
WS-FIRST-NAME WS-OUTPUT1-REC +24 15 A
WS-OUTPUT1-FILLER2 WS-OUTPUT1-REC +39 4 A
WS-EMPLOYEE-SUBSSN WS-OUTPUT1-REC +43 09 A
WS-OUTPUT1-FILLER3 WS-OUTPUT1-REC +52 4 A
WS-BIRTH-DATE WS-OUTPUT1-REC +56 08 A
WS-OUTPUT1-FILLER4 WS-OUTPUT1-REC +64 4 A
WS-TIER-LEVE WS-OUTPUT1-REC +68 01 A
WS-OUPUT-FILLER WS-OUTPUT1-REC +69 64 A
WS-REPORT-TITLE W 133 A VALUE ' ' |
Browing the output file:
Code: |
BROWSE R1...
Command ==...
************...
OBNAME : ......
IRST NAME ...
------------...
ONEY ...
HURMAN ...
AGNOLIA ...
************...
|
Guru pls can help me!
Thanks so much. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Sigh.
In your BROWSE settings, is DISPLAY CC turned on?
3.3.2.3 DISPLAY--control the display:
Quote: |
The DISPLAY command allows you to view data that would not normally be displayed, such as carriage control characters and Unicode data. For other nondisplayable data you can specify a character to represent each character that cannot be displayed.
The DISPLAY command has two formats. The first is used to display carriage-control characters and other nondisplay characters. The second allows data stored using a Unicode CCSID (Coded Character Set Identifier) to be displayed using the CCSID of the terminal.
Code: |
_NOCC_
>>__DISPLAY__ ______ __|______|_________________________________________><
|_char_| |_CC___|
|
You must enter at least one operand, but you can enter them in any order. If you enter only one operand, the other operand retains its current value.
where:
char
The character you want to use to represent characters that cannot be displayed on the screen. It can be a single character, or a single character enclosed in apostrophes (') or quotation marks ("). If you specify a blank as the character, you must enclose it in apostrophes or quotation marks.
CC Shows that carriage control characters are to be displayed and are to be considered part of the data.
NOCC
Shows that carriage control characters are not to be displayed and are not to be considered part of the data.
Both operands are stored in your user profile and are in effect whenever you are using Browse. You need to reenter the DISPLAY command only if you want to change one of the operands.
The first settings for display mode are period (.) and NOCC, but the carriage control character status has no effect if the data that you are browsing has no carriage control characters
|
|
|
Back to top |
|
|
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
BTW, the first colum can be displayed in VIEW mode. |
|
Back to top |
|
|
Bill Murrell
New User
Joined: 14 Sep 2008 Posts: 10 Location: Oklahoma City, OK
|
|
|
|
It appears to me you are browsing a print file. Remember that type of file uses column 1 as carriage control. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is this now working?
If not, try adding a WS-OUTPUT1-FILLER0 of 1 byte before WS-LAST-NAME (suggest you change the length of lastname to 19 for the test). |
|
Back to top |
|
|
Lord.of.Wind
New User
Joined: 17 Nov 2005 Posts: 60
|
|
|
|
yeah, that is working well, thank you so much! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thanks for letting us know
d |
|
Back to top |
|
|
|