Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Easytrive, missing first column in BROWSE mode, why?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Easytrive, missing first column in BROWSE mode, why?
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

Moderator Team Head


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

PostPosted: Tue Apr 14, 2009 7:09 am    Post subject: Reply to: Easytrive, missing first column in BROWSE mode, wh
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Apr 15, 2009 7:53 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Apr 15, 2009 7:20 pm    Post subject: Reply to: Easytrive, missing first column in BROWSE mode, wh
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 6 Sun Nov 06, 2016 8:11 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us