Focal Point
[SOLVED] Saving Hex I2 Field On Mainframe Output

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8637043295

October 25, 2010, 11:30 AM
ktnj
[SOLVED] Saving Hex I2 Field On Mainframe Output
Hello all,

How can I save an I2 field with an on table Save?

The save changes the field to an alpha value.
That is, I want '000F' and I get 40F0'

Thanks to all.

Focus 765
Z/OS

This message has been edited. Last edited by: Kerry,


October 25, 2010, 11:58 AM
dhagen
Use the UFMT function.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
October 25, 2010, 12:07 PM
j.gross
I think you need to use SAVB instead of SAVE.

SAVE converts all field values into printable characters.

SAVB (the B stands for Binary) preserves the internal format of numeric fields.
October 26, 2010, 10:53 AM
ktnj
Thanks to all.
I think I have to write the output as a Hold file and reformat the file to remove the extra boundry alignment characters.


October 26, 2010, 04:46 PM
Waz
There are many HOLD/SAVE formats, and I think on of them will do what you want.

Although, are you wanting an I2 that is unsigned ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

October 27, 2010, 08:13 AM
Jessica Bottone
Check the IBI tech site for HOLD FORMAT INTERNAL.


Data Migrator 5.3, 7.1, 7.6
WebFOCUS 7.1, 7.6, 7.7
SQL Server, Oracle, DB2
Windows