Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm
No new posts How to group and sum the decimal value sakrat DFSORT/ICETOOL 2 Tue Mar 06, 2018 9:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us