I want to concatenate two files file1 and file2 and use that in sequential file stage.
cat file1 file2
Can I use cat #file1# #file2# (i.e) parametrizing them? and where can I write this cat command?
parametrizing the arguments of cat command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 97
- Joined: Tue Feb 21, 2006 6:45 am
-
- Participant
- Posts: 103
- Joined: Wed Jul 06, 2005 12:29 am
-
- Participant
- Posts: 97
- Joined: Tue Feb 21, 2006 6:45 am
-
- Participant
- Posts: 97
- Joined: Tue Feb 21, 2006 6:45 am
What should this FileName be File1 or File2?Don't forget to use an existing file in the Input 'FileName' box.
or should i write
Code: Select all
cat #File1# #File2# > #File3#
For the filename, you could use /dev/NULtostay2003 wrote:What should this FileName be File1 or File2?
or should i write
and use the FileName as #File3#Code: Select all
cat #File1# #File2# > #File3#
In the filter command, use
Don't specify the target file in the command. Make sure that the path is specified in the value of the 2 parameters and also check if you have permissions on those file.cat #File1# #File2#
gateleys
Re: Cat?
Why link collector when the same can be done using cat in before/after subroutine?mcolen wrote:Why use a before/after subroutine of cat a,b > c when you can (provided formats are the same) use a link collector to do the same work in the job.
Why cat in before/after subroutine if it can be achieved using Filter command in sequential file?
Why the above, if it can be done using the Command stage or the Execute Command at the sequence level?
Why? why? why?
Lots of choices, eh!!!
![Wink :wink:](./images/smilies/icon_wink.gif)