Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

NO-GROUPING

Former Member
0 Likes
1,623

Hi to all Guru's,

Can anybody explain me about this syntax?

... NO-GROUPING

This addition cannot be used together with the addition TIME ZONE.

Effect

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.

Thanks

Priyalataha

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
992

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.

~ As found in forum.

Regards,

Amit

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
993

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.

~ As found in forum.

Regards,

Amit

Read only

0 Likes
992

DATA pack TYPE p VALUE '123450000.678'.

WRITE pack NO-GROUPING ROUND 0 DECIMALS 2.

check this code by adding and removing no-grouping you can find the difference it won't support for the addition of time zones.

Read only

Former Member
0 Likes
992

Hi Priya,

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.

<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.

For Example :

11,00,000 it will displays like 1100000.

So because of that this addtion is cannot be used in addtion with TIME ZONE.

hope this will help you...

<b>please reward if useful</b>

Regards,

sunil kairam.