Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Generate multiple xml files on Application Server

Former Member
0 Likes
321

Hi Gurus,

I need to generate multiple xml files on the application server.

I am putting OPEN DATASET and CLOSE DATSET inside a loop.

But only the last file in the loop is getting generated.

How do i make sure all files get generated.

My code is given below.

Loop at xml_tab into xml_string.

open dataset filename for output in text mode encoding default.

transfer xml_string to filename.

close dataset filename.

endloop.

Thanks and Regards

Gaurav raghav

1 REPLY 1
Read only

Former Member
0 Likes
296

Sorry.

Th code is wporking fine.

The file names are sorted.

Thats why i was not able to see the files.