View previous topic :: View next topic
|
Author |
Message |
dalib123
New User
Joined: 14 Oct 2008 Posts: 7 Location: india
|
|
|
|
how to append a flat file in the second file with the same structure.
like file1 contains
111aaaa
222bbbb
333cccc
and file 2 contains
444bbbb
555cccc
and the output should be
111aaaa
222bbbb
333cccc
444bbbb
555cccc |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
IEBGENER, SORT, a program, many ways. |
|
Back to top |
|
|
dalib123
New User
Joined: 14 Oct 2008 Posts: 7 Location: india
|
|
|
|
thanx expat
can you tell how to use these utilities IEBGENER, SORT with the sample code for merge them as append. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
IEBGENER lives HERE.
In fact, the whole book is essential reading for almost everyone in the mainframe business. |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Try this sort step:
Code: |
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=Input.File1,DISP=...
// DD DSN=Input.File2,DISP=...
//SORTOUT DD DSN=Output.File,DISP=...
//SYSIN DD *
SORT FIELDS=COPY
/* |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi dalib,
To add a little to what has been suggested so far..
At the top of the page is a link to "IBM Manuals". Among these are the Manuals which talk about these stuff..
If you find something in a manual that is not clear, post what you found (and the link to that part of the manual) and your question and someone here will be able to clarify.
Becoming familiar/comfortable with the manuals is invaluable..They are better than us (me for sure) |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Just to clarify, the manuals you refer to which talk about this stuff (sort) are the DFSORT manuals which apply to DFSORT and DFSORT's ICETOOL - they do not apply to competitive sort products. The DFSORT manuals are freely available online in pdf and bookmanager format for anyone to reference. Manuals for competitive sort products are not available online. |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Electronic versions of SyncSort manuals are available for free to any licensed customer. SyncSort customers can request manuals via email at zos_tech@syncsort.com or call 201-930-8260. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
No comments, Thanks.
-Ad |
|
Back to top |
|
|
|