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: 91
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: 7315

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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm

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