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
 

 

Comparing two files in file-aid

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Comparing two files in file-aid
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    Post subject: getting empty file when comparing
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


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