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

Viewing binary record


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kishpra

New User


Joined: 24 May 2010
Posts: 92
Location: Pune

PostPosted: Tue Aug 13, 2013 12:35 pm
Reply with quote

Hi,

i have a PS file with one record defined as S9(09) COMP. How to view what that record contains as it shos some junk values.

Thanks
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Aug 13, 2013 1:38 pm
Reply with quote

One person's "junk" is another person's hexadecimal value which tells you what the field "contains".

What exactly do you mean by "view" it? Is it really "one record" with a data length of four bytes?
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: Tue Aug 13, 2013 9:00 pm
Reply with quote

Hello,

Open the file in VIEW and loook sat the data in Hex (HEX ON).

It is NOT intended that binary data be readable directly by people. Code has no trouble with binary data.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Aug 13, 2013 9:55 pm
Reply with quote

Do you need to check the "on/off" status of bits within each byte?

This should be relatively easy using your PC calculator....
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Aug 14, 2013 3:57 pm
Reply with quote

kishpra wrote:
i have a PS file with one record defined as S9(09) COMP. How to view what that record contains as it shos some junk values.
How do you "see the values"? Using File-Aid, IBM file-Manager or using ISPF 3.4/B?
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top