IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Easytrive, missing first column in BROWSE mode, why?


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Tue Apr 14, 2009 7:01 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 14, 2009 7:09 am
Reply with quote

Sigh. icon_confused.gif

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
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Tue Apr 14, 2009 7:12 am
Reply with quote

BTW, the first colum can be displayed in VIEW mode.
Back to top
View user's profile Send private message
Bill Murrell

New User


Joined: 14 Sep 2008
Posts: 10
Location: Oklahoma City, OK

PostPosted: Wed Apr 15, 2009 7:46 am
Reply with quote

It appears to me you are browsing a print file. Remember that type of file uses column 1 as carriage control.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 15, 2009 7:53 am
Reply with quote

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
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Wed Apr 15, 2009 5:25 pm
Reply with quote

yeah, that is working well, thank you so much! icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 15, 2009 7:20 pm
Reply with quote

Good to hear it is working - thanks for letting us know icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts RC query -Time column CA Products 3
Search our Forums:

Back to Top