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
 

 

To validate data in Packed Decimal format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: To validate data in Packed Decimal format
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: 2150
Location: At my coffee table

PostPosted: Wed Apr 23, 2008 11:38 am    Post subject:
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    Post subject:
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    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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm


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