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
 

 

Signed variables in Ezytrive

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Signed variables in Ezytrive
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    Post subject:
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    Post subject: Signed Numeric Error
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    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 DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm


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