IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Signed variables in Ezytrive


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Feb 02, 2006 12:32 am
Reply with quote

how can we declare sigend variables in ezytrieve
Back to top
View user's profile Send private message
Nishant Jain

New User


Joined: 25 Jul 2006
Posts: 3

PostPosted: Tue Jul 25, 2006 6:34 pm
Reply with quote

There is no need to declare any signed variable in Easytrieve. Indeed there is no criteria in Easytrieve to declare any variable as signed or unsigned. Easytrieve automatically takes care of that.
For example, if your declaration for some variable is like

WS-VARIABLE-1 W 4 N 0

And if after some calculations its value comes to be negative, then the minus sign will appear on the right hand side of the value in the report. It will look as 1234-. And this will be taken care in all the calculations.

However, if you want the minus sign on the left handside, you can make use of the MASK edit verb of Easytrieve.
Back to top
View user's profile Send private message
melmania

New User


Joined: 22 Sep 2006
Posts: 4
Location: Phoenix, AZ

PostPosted: Fri Sep 22, 2006 3:32 am
Reply with quote

I have a file that contains a 2-byte field which I defined as 'N'. In the file the field has a hex value of x'F5C2'. My program does a check to determine if the field is numeric (some of the records contain spaces). This record fails the numeric check and is not added to the total. Is there a fix for this?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts JCL with variables JCL & VSAM 1
No new posts JCL Variables JCL & VSAM 1
No new posts reset/clear ALL application profile v... TSO/ISPF 3
No new posts REXX - Adding variables CLIST & REXX 8
Search our Forums:

Back to Top