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

To validate data in Packed Decimal format


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

New User


Joined: 15 Apr 2008
Posts: 7
Location: bangalore

PostPosted: Wed Apr 23, 2008 11:18 am
Reply with quote

Hi,

i have a file with field values in PACKED DECIMAL. i am building a EASYTRIEVE where i will be using this field value for validation.
so how and in which format should i give the values in the EASYTRIEVE.

Eg :
The field value in the table appears in below way ( packed decimal)

CODE_VALUE
..........*.
..........*.
............
............
............
..........*.
..........*.
Actual values of this CODE_VALUE will be from 100001 to 1000012

Now in my EASYTRIEVE i want to use a condition like

IF INFILE1-CODE_VALUE EQ X'1000005' OR
INFILE1-CODE_VALUE EQ X'1000011'
MOVE 0 TO OUTFILE-STATUS
ELSE
MOVE 1 TO OUTFILE-STATUS

so how should i give the condition( bold text) in EASYTRIEVE ?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 23, 2008 11:38 am
Reply with quote

I know it is a stupid question, but have you even bothered to look at the EZT manual?
Back to top
View user's profile Send private message
vasudevan_c

New User


Joined: 15 Apr 2008
Posts: 7
Location: bangalore

PostPosted: Wed Apr 23, 2008 2:08 pm
Reply with quote

Thank you
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top