Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

comp variable's lenth in easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Madhusmita Patnaik

New User


Joined: 18 Dec 2006
Posts: 14
Location: bangalore

PostPosted: Fri Feb 09, 2007 5:33 pm    Post subject: comp variable's lenth in easytrieve
Reply with quote

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
View user's profile Send private message

manihcl85
Warnings : 1

New User


Joined: 11 Jan 2007
Posts: 52
Location: chennai

PostPosted: Fri Feb 09, 2007 5:55 pm    Post subject:
Reply with quote

Hi,

U can use 'N' - Numeric
or 'P' - Packed accoring to ur requirment.

Regards,
Mani
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Feb 09, 2007 6:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Madhusmita Patnaik

New User


Joined: 18 Dec 2006
Posts: 14
Location: bangalore

PostPosted: Tue Feb 13, 2007 3:01 pm    Post subject: hii but how can i represent a small int in easytrieve?
Reply with quote

but how can i represent a small int in easytrieve?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 3:05 pm    Post subject: Re: hii but how can i represent a small int in easytrieve?
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts How can we have the varying lenth of ... Gunapala CN DFSORT/ICETOOL 6 Fri Oct 14, 2016 7:31 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us