‎2007 Dec 06 12:11 PM
write it_i_ppmlev-dplots to it_display-dplots no-grouping.
what does no-grouping means..
‎2007 Dec 06 12:19 PM
Hi,
This addition suppresses the thousands separator in the output of data objects of data types i or p. In all other data types, the addition is ignored.
For Example :
11,00,000 it will displays like 1100000.
Thanks.
‎2007 Dec 06 12:15 PM
OMG why dont you goto yourr statement and press F1???
all what you want to know is mentioned there and its only one sentence!
the seperators of type i and p will be ignored.
‎2007 Dec 06 12:16 PM
This addition suppresses the thousands separator in the output of data objects of data types i or p. In all other data types, the addition is ignored.
‎2007 Dec 06 12:19 PM
Hi,
This addition suppresses the thousands separator in the output of data objects of data types i or p. In all other data types, the addition is ignored.
For Example :
11,00,000 it will displays like 1100000.
Thanks.
‎2007 Dec 06 12:20 PM
‎2007 Dec 06 12:20 PM
Hi,
<b>No-Grouping Clause</b>
If your variable you are writing to is of type I or P, the separators are omitted while writing the value.
Thanks,
Lalit Kabra
‎2007 Dec 06 12:25 PM
thats exactly what i like, too lazy to press F1 and asking in da forum, and then even beeing too lazy to reward points.
actually that was my last answer to a question from you.
‎2007 Dec 06 12:30 PM
NO-GROUPING is generally used along with the "WRITE" statement to format the output.
generally the 'NO-GROUPING' clause which does not include the delimiters used to separate thousands, hundred thousands and so for
Please award points if found usefull.
Cheers,
Chaitanya.
‎2007 Dec 06 12:33 PM
Hi,
The output for the WRITE statement is "1234,57".
DATA pack TYPE p LENGTH 8 DECIMALS 4 VALUE '1234.5678'.
WRITE pack NO-GROUPING DECIMALS 2.
Addition 10
... ROUND scale
This addition cannot be used together with the addition TIME ZONE.
Effect
If dobj has the data type p, this addition multiplies the value of the data object, before output, by 10 to the power of scale. In all other data types, the addition is ignored. For scale, a data object of type i is expected that contains the value of the required scale.
If the value of scale is greater than 0 and the addition DECIMALS is not specified, the interim result is rounded to the number of decimal places defined in the data type. If the addition DECIMALS is specified, it is rounded to the number of decimal places specified in dec and these are then output.
If the addition ROUND is used with the length specification * or ** after AT, it is used first and the output length is determined from the result.
If the addition CURRENCY is specified, this is used, before multiplication, for the content of dobj. If the addition DECIMALS is not specified, the number of decimal places specified through cur is used for rounding off and for the output. If the addition DECIMALS is specified, the value in dec is used.
Example
The output of the WRITE statement is "123456,7800".
DATA pack TYPE p VALUE '12345678'.
WRITE pack NO-GROUPING ROUND 2 DECIMALS 4.
Regards,
Prashant