View previous topic :: View next topic
|
Author |
Message |
k_v_mahesh
New User
Joined: 25 May 2010 Posts: 15 Location: chennai
|
|
|
|
Hi,
I have a requirement where some field is stored as bit (0 or 1) to indicated a business flag value as 1 byte.
field example - 01010111
We are in a process of conversion and data needs to fed to another system that doesn't understand the bit value, hence we are forced to format it into a 8 different new field either as character or numeric representing 0 or 1.
I understand DFSORT can convert binary,packed,ZD to other formats but how abt bit data
Can this be acheived using DFSORT or SYNCSORT. if some sample would be helpful. This is a urgent request.
Regards |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Errrrr, surely "bit value" is binary
What system are you feeding it into that can not cope with binary representation. |
|
Back to top |
|
|
k_v_mahesh
New User
Joined: 25 May 2010 Posts: 15 Location: chennai
|
|
|
|
But how do you get this data out of source mainframe in a re-presentable format to an application in distributed which needs to be loaded |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
k_v_mahesh wrote: |
But how do you get this data out of source mainframe in a re-presentable format to an application in distributed which needs to be loaded |
By having software engineers write curly-language programs that handle binary (it can be done, you know). |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you have normal text data s well as bit-level data, extra care is needed to use the data on the target platform. The text needs to be converted to ascii but the bit-level data must remain as-is to preserve the bit settings. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Have a look at TRAN=BIT, like here. |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
*sigh* It is posted here also? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Please do not post the same topic on multiple forums on the same day. As you can see, you have wasted some of Kolusu's time. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Just another of those who work very hard getting someone else to their research / work . . .
I haven't banned anyone yet for mjulti-posting, but i have been tempted
I have quietly deleted multi-posts on the forums where i can, though
d |
|
Back to top |
|
|
|