Hi, I don't know whether this is really a 'performance issue' because it occurs on our company's ADCD ZOS1.4 system running on an pc.
We recently converted some pl/i batch programs to cobol for a customer. (Enterprise Z/os PL/I 3.1) Then they sent us with some input data sets for testing purpose so we need to run original PL/I programs using these data sets first. Most of programs just run quickly (two or three minutes on ADCD system) until we encounter one which REWRITE a sequtial file. The input are two sequtial data set with (PS, VB, LRECL=1024, BLKSIZE=27998) and the program logic is simple: just read two files and if needed rewrite one file. First file has 50,000 records and second has 100,000 records. If I remove the REWRITE statement the program will finish in three minutes. However, if with REWRITE added, it will run for more than an hour. And this is not the only one. After this step, there is another similar program and at this time the program has run for nine hours and we don't know when it'll finish. Since our company doesn't own a 'real' z machine so we have to finish our testing on ADCD system. I've tried some methods to improve the performance but they just won't work. Can anyone give me some hints? If i cannot solve this problem, maybe we need to negotiate with our customer to decrese the amount of input data. -- Best Regards, Johnny Luo ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

