View previous topic :: View next topic
|
Author |
Message |
grvtomar
New User
Joined: 29 Apr 2015 Posts: 7 Location: Sri Lanka
|
|
|
|
Hello everyone,
I wanted to write a file using a online PL1 program.
I have to write some data into DB2 and simultaneously want to write a XML file using the same data.
Is it possible ? If yes please help me how can I process this in a single step using this online program.
Thanks, |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
You cannot - 2 reasons:
1 - it is a dataset not a file
2 - all i/o is handled by IMS or whatever so you have to use a database
You can, however, refer to your data set as a GSAM database. |
|
Back to top |
|
|
grvtomar
New User
Joined: 29 Apr 2015 Posts: 7 Location: Sri Lanka
|
|
|
|
Thank you Mr. Clouston,
I have to find alternate solution. May be a batch would be good option for that. What would you suggest in this regard ?
Best Regards,
Gaurav |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What you want to do would be easy in CICS. However, since you're using "online", CICS may not be relevant to your needs.
The best answers on this, or any forum, come when the question thoroughly explains the environment, the perceived problem, and what has been tried already. It helps when the question uses standard terminology (mainframes have files in Unix System Services and on tapes -- period; all disk data is stored in data sets, not files). |
|
Back to top |
|
|
|