IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 7312
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: 19251
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

Senior Member


Joined: 22 Apr 2006
Posts: 6251
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

 

Search our Forum:

Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Splice JCL into one record for DD sta... SYNCSORT 2
No new posts Copying data from prev record using SORT SYNCSORT 19
No new posts Break a record into fields, each fiel... SYNCSORT 2
No new posts Creating a single-record file with CO... DFSORT/ICETOOL 8
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10

Back to Top