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

Comparing two files in file-aid


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

New User


Joined: 15 Jun 2007
Posts: 23
Location: pune

PostPosted: Tue Jun 19, 2007 4:10 pm
Reply with quote

Hi ,
i want to compare 2 files on some keys and is it right to give as below or i have to give 1-TO-1 comparision .iam not able to figure out whether old position, new position and length mean here.please find the screen shot.
KEY=(1,2,C,A)
KEY=(3,4,C,A)
KEY=(7,16,C,A)
KEY=(23,16,C,A)
KEY=(39,15,C,A)
KEY=(54,6,C,A)
KEY=(60,7,C,A)
KEY=(81,1,C,A)
MASK=(61,19)
MASK=(82,END)


please suggest.


thanks
Back to top
View user's profile Send private message
student_mf

New User


Joined: 15 Jun 2007
Posts: 23
Location: pune

PostPosted: Fri Jun 22, 2007 12:14 pm
Reply with quote

Hi i have used file-aid 10 option and generated batch jcl for comparision using sync/key and 1 to 1 but when i execute the job iam getting an empty file in both cases and sending the sysprint message also .please suggest.

//MP7JKEY JOB MSGCLASS=T,NOTIFY=serSSR
//FASTEP EXEC PGM=FILEAID,REGION=6M
//STEPLIB DD DISP=SHR,DSN=SYS1.FILEAID.LOAD
//SYSPRINT DD SYSOUT=T
//SYSLIST DD SYSOUT=T,DCB=(LRECL=183,BLKSIZE=1830)
//DD01 DD DSN=test.T1,
// DISP=SHR
//DD0C DD DSN=test.T2,
// DISP=SHR
//DD0CP DD DSN=FILEAID.CC.D07172.T080150,
// DISP=SHR
//DD01O DD DSN=output.FT1,DISP=(,CATLG),
// DCB=(RECFM=FB,LRECL=90,BLKSIZE=27000),
// SPACE=(27000,(15000,100),RLSE),UNIT=DISK
//SYSIN DD *
$$DD01 COMPARE
/*
//


syprint message

$$DD01 COMPARE
CONTROL CARD DOES NOT BEGIN WITH $$DD
.....SKIPPING TO NEXT $$DD CARD
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 Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top