Here is an example using FCOPY:
!file SCCIALL;REC=-220,,F,ascii;disc=10000;acc=append
!FCOPY from=SCCIDE01;to=*SCCIALL;new
!FCOPY from=SCCITB01;to=*SCCIALL
Hope this helps,
Catherine Litten,
Senior Programmer Analyst
Valley Presbyterian Hospital
www.valleypres.org
*********************************
The thoughts, comments, and opinions expressed herein are mine. They do not
reflect those of my employer, nor anyone else.
***This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. §§ 2510-2521 and is legally privileged. This information is
confidential information and is intended only for the use of the individual
or entity named above. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received
this transmission in error, please notify the sender immediately by return
electronic transmission and then immediately delete this transmission.***
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Srifan_In
Sent: Tuesday, October 14, 2003 4:47 PM
To: [log in to unmask]
Subject: merging two files.
I am struggling to write a job which can merge two files.
The functionality I am looking for is like below:
contents of File1.pub
aaa
bbb
ccc
contents of File2. pub
123
456
789
I want to write a job, which has to merge the files and create a new
file called file3.pub like belo
aaa|123
bbb|456
ccc|789
Any pointers will be of great help.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|