06-29-2007 11:39 AM
Hi All,
I am trying to creating to two files on the application server using the open data set and close data.
lets say the first file is file1 and second file is file2. but when i go to the Tcode AL11 and check the file only second file is appears there.
its may be coz i m using two times this open data and close data in my program.
can u tell help me howz these two file is appears on the application server i.e AL11.
its very urgent pls help me.
Thanks!
Vipin
06-29-2007 12:20 PM
Hi,
There is no problem in creating the multiple files.
check the name sthat you used for this.
I think you are givign the same file name both times.
Check once. if the problem is not solved please give the code that you used for this.
Regards,
Sasi
06-29-2007 12:24 PM
06-29-2007 12:30 PM
and its taking only that file name whatever we gives in last open dataset and close dataset with file name.
06-29-2007 12:33 PM
Hi Do one thing,
Start ur program in debugging mode complete first open data set and close data set and then go and chekc whehter the file got created or not and also check the sy-subrc values when u r doing ur open data set.
if the first file is not done then no file will be in AL11 including ur new file name.
In this way you can find whether the file got created or not.
check that u r giving differnet file names fifferently otherwise it will be keep on overwriting the existing one.
Regards,
sasi
06-29-2007 12:42 PM
Vipin,
You might be using the same filename or first fileis not created , check it. check the sy-subrc after open dataset and close dataset.
That will give some input.
Show the code. are you using the perform by any chance.
Regards
Vijay
06-29-2007 12:56 PM