View previous topic :: View next topic
|
Author |
Message |
Madhusmita Patnaik
New User
Joined: 18 Dec 2006 Posts: 14 Location: bangalore
|
|
|
|
i have a comp variable in cobol. if i try to code this in easytrieve what is the length declaration of the variable in easytrieve. |
|
Back to top |
|
|
manihcl85 Warnings : 1 New User
Joined: 11 Jan 2007 Posts: 52 Location: chennai
|
|
|
|
Hi,
U can use 'N' - Numeric
or 'P' - Packed accoring to ur requirment.
Regards,
Mani |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Take your pick:
N?zoned decimal ? the field contains digits 0 through 9 in external decimal form.
P?packed decimal ? the field contains numbers which meet IBM's definition of internal packed decimal.
B?binary ? the field contains binary data.
A?alphanumeric ? use when none of the numeric data types apply to the associated field. |
|
Back to top |
|
|
Madhusmita Patnaik
New User
Joined: 18 Dec 2006 Posts: 14 Location: bangalore
|
|
|
|
but how can i represent a small int in easytrieve? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Madhusmita Patnaik wrote: |
but how can i represent a small int in easytrieve? |
How do you define "a small int" in COBOL?
Have you looked at the EZT manual? |
|
Back to top |
|
|
|