View previous topic :: View next topic
|
Author |
Message |
Abhisek_mainframe
New User
Joined: 27 May 2008 Posts: 3 Location: Kolkata
|
|
|
|
Hi,
I have a NDM process that remanes a file using RUN TASK. I guess 'ALTER' is the keyword which renames(not sure). Now, I want this file to be copied and not renamed. Is there a command to do so with RUN TASK. If yes, can anyone give the syntax and explain it?
Thanks |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Let's start by you telling us what you know about the RUN TASK statement. What does it do? How does it work? |
|
Back to top |
|
|
Abhisek_mainframe
New User
Joined: 27 May 2008 Posts: 3 Location: Kolkata
|
|
|
|
Most of the times I have seen in our JOBs that its used to trigger a JOB, at the same node or at the SNODE using PGM/UTILITY IOACOND. The above is one case where I found its also renaming a file. This is the only understanding I have |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Quote: |
The RUN TASK statement calls external programs to run on a Connect:Direct node. The Process waits until the external program completes before continuing. When the external program completes, the RUN TASK returns a completion code that indicates the program's success. You can pass parameters to the external program.
|
So, to answer your question. Is there a program available on that node that will perform the file copy you need? If the answer is yes, then you should be able to invoke it, with parameters, via a RUN TASK. Only you and your systems folks are going to be able to answer this. Whoever knows what the ALTER program does can probably help. |
|
Back to top |
|
|
Abhisek_mainframe
New User
Joined: 27 May 2008 Posts: 3 Location: Kolkata
|
|
|
|
Thanks for that Kevin. Can you also tell me if DMRTAMS is a utility ? If yes, what does it do |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Never heard of it. You may want to ask Sterling Commerce (www.stercomm.com) to see if it is their module or not. |
|
Back to top |
|
|
|