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 Sorting group data rajella DFSORT/ICETOOL 3 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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