View previous topic :: View next topic
|
Author |
Message |
krishnasaikiah
New User
Joined: 14 Mar 2007 Posts: 24 Location: gurgaon
|
|
|
|
HI all,
I have a input file like this
01. INRECX1.
05. EMP NAME PIC X(10).
05. EMP ID PIC X(5).
05. EMP SAL PIC X(8).
The other input file has these three fields in addition to other 10 fields.
I need to move the values of these 3 fields from the first input file to the second file.The values of the other fields in the 2nd input file will remain the same.
Thus, I need to have one output file after moving the values of these three fields into the second input file.
I want to know whether this can be done thru JCL.
Because I dont want to write a program for just moving in the values.
Thanks
Krishna |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
is there no matching of records? what are your 'rules' for merging the two files. You have provided 3 fields for 1 input file. what does the other input file look like?
what kind of matching logic do you want?
also, record lengths, field lengths and offsets. |
|
Back to top |
|
|
satheeshkamal
New User
Joined: 09 Jan 2007 Posts: 28 Location: Chennai
|
|
Back to top |
|
|
|