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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am


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