Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
dfsort outrec convert to binary digits

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
caleb ong

New User


Joined: 27 Mar 2008
Posts: 1
Location: philippines

PostPosted: Thu Mar 27, 2008 1:03 pm    Post subject: dfsort outrec convert to binary digits
Reply with quote

Hi,

Using the DFSORT control statements below, I am able to convert a binary record into hexadecimal characters.

SORT FIELDS=(7,2,BI,A)
OUTREC FIELDS=(1,1055,HEX)

Is there a way to convert the same binary record into its BINARY format instead?

So instead of the hex characters E3E300, the output will be the binary characters 111000111110001100000000.

Thank you.
Back to top
View user's profile Send private message
References
PostPosted: Thu Mar 27, 2008 1:03 pm    Post subject: Re: dfsort outrec convert to binary digits Reply with quote

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 3777
Location: San Jose, CA

PostPosted: Thu Mar 27, 2008 9:01 pm    Post subject:
Reply with quote

DFSORT does not have any built-in features for converting to bit representation. You could create bit representation using IFTHEN clauses, but it wouldn't be practical for 1055 bytes = 8440 bits.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 5930
Location: 221 B Baker St

PostPosted: Thu Mar 27, 2008 9:54 pm    Post subject:
Reply with quote

Hello Caleb and welcome to the forums,

Just curious. . . How would you use 8k+ ones and zeros?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1