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 How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am


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