Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us