Application Development 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: 

NO-GROUPING

Former Member
0 Kudos

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

amit_khare
Active Contributor
0 Kudos

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

amit_khare
Active Contributor
0 Kudos

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

0 Kudos

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.

former_member202957
Contributor
0 Kudos

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.