Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Viewing binary record

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Viewing binary record
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Tue Aug 13, 2013 1:38 pm    Post subject: Reply to: Viewing binary record
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

Site Director


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

PostPosted: Tue Aug 13, 2013 9:00 pm    Post subject:
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    Post subject: Reply to: Viewing binary record
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: 6258
Location: Mumbai, India

PostPosted: Wed Aug 14, 2013 3:57 pm    Post subject: Re: Viewing binary record
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us