Focal Point
[SOLVED] difference between SAVE & SAVB

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

April 23, 2012, 12:42 PM
Deepu
[SOLVED] difference between SAVE & SAVB
Hi

can anybody tell me

what is difference between SAVE & SAVB


Thanks

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


WebFOCUS 7.6
Windows, All Outputs
April 23, 2012, 12:48 PM
<JG>
you could read the documentation and it will tell you.

However SAVE is ALPHA SAVB is Binary.

Binary means you cannot read the numbers.
April 23, 2012, 12:48 PM
j.gross
Save converts numeric fields to character strings, so the output is purely "printable".

Savb holds them in internal formt (which is Binary in the case of I-format; hence the B).
April 23, 2012, 12:49 PM
j.gross
Two jg's for the price of one
April 23, 2012, 05:42 PM
Waz
Twins ?




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!

April 25, 2012, 12:41 PM
jgelona
The other thing to keep in mind when holding or saving binary data is that the length of alpha fields is rounded up to the next 4 byte boundry. For example, in field with a length of A1 will show A1 as the USAGE format but will be A4 in the ACTUAL format.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
April 25, 2012, 01:03 PM
j.gross
Triplets Big Grin
April 25, 2012, 01:04 PM
j.gross
And SAVE can result in overflow (asterisks in place of a numeric value)