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: 7310
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: 19245
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: 2504
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 fetch the record number from FMNMAIN ... CLIST & REXX 10
This topic is locked: you cannot edit posts or make replies. how to extract a portion (e.g. fields... SYNCSORT 8
This topic is locked: you cannot edit posts or make replies. Writng matched records into output fi... DFSORT/ICETOOL 11
No new posts Compare the file record count percent... DFSORT/ICETOOL 4
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
Search our Forums:

Back to Top