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

Binary Comparison in Fileaid


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Smrithi

New User


Joined: 10 Mar 2008
Posts: 2
Location: banglore

PostPosted: Mon Mar 10, 2008 5:55 pm
Reply with quote

Hi,

I need to compare a S9(04) COMP field (value is 700 of datatype S9(04) COMP)in Fileaid control card.

The control card which I am using is

$$DD01 USER IF=(400,EQ,B'10101111'),
MOVE=(1,11,13),
MOVE=(12,4,507),
MOVE=(16,2,140),
MOVE=(18,20,145),
MOVE=(38,2,507),
MOVE=(40,2,509),
MOVE=(42,2,512),
MOVE=(44,2,515),
MOVE=(46,2,517),
MOVE=(48,2,519),
MOVE=(50,2,522),
MOVE=(52,2,525),
MOVE=(54,2,540),
MOVE=(56,2,542),
MOVE=(58,2,545),
MOVE=(60,2,548),
WRITE=DD01O

It is not working.

Can anybody plz tell me how the control card should look like ...

The exact requirement is to extract fields from a dataset based on a particular filed which starts at position 400 in i/p file and of the type
S9(04) COMP.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Mon Mar 10, 2008 8:10 pm
Reply with quote

We can't see your error, so it is difficult to tell.

Make sure your MOVE and WRITE parameters that are a continuation of the 1st $$DD01 statement do not start in position 1. Position 1 must be blank on a continuation and the card must start somewhere between position 2 and position 25.

Your initial control card statement is looking for a B'AF' in position 400. Make sure this also is correct or you won't select any records.
Back to top
View user's profile Send private message
Smrithi

New User


Joined: 10 Mar 2008
Posts: 2
Location: banglore

PostPosted: Tue Mar 11, 2008 10:39 am
Reply with quote

Hi,

The control card is given below. I believe that the position of MOVE and WRITE are correct.


$$DD01 USER IF=(400,EQ,B'10101111'),
MOVE=(1,11,13),
MOVE=(12,4,507),
MOVE=(16,2,140),
MOVE=(18,20,145),
MOVE=(38,2,507),
MOVE=(40,2,509),
MOVE=(42,2,512),
MOVE=(44,2,515),
MOVE=(46,2,517),
MOVE=(48,2,519),
MOVE=(50,2,522),
MOVE=(52,2,525),
MOVE=(54,2,540),
MOVE=(56,2,542),
MOVE=(58,2,545),
MOVE=(60,2,548),
WRITE=DD01O



It is searching for 700 ( which is of type S9(04) COMP) at the postion 400 of the input file.
Can anybody plz let me know how to compare a SINGED COMP field?
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts VB File comparison JCL & VSAM 1
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
This topic is locked: you cannot edit posts or make replies. Related to using a file in comparison JCL & VSAM 8
Search our Forums:

Back to Top