View previous topic :: View next topic
|
Author |
Message |
Aravinth Kumar
New User
Joined: 20 May 2022 Posts: 6 Location: India
|
|
|
|
Hello All,
I have a requirement to concatenate two fields from input files to a new field in output. Below are the details,
Input field:
05 IN-NOTES-3 PIC N(40) USAGE IS NATIONAL.
05 IN-NOTES-4 PIC N(40) USAGE IS NATIONAL.
Output field:
05 OUT-NOTES PIC N(80) USAGE NATIONAL.
I tried the below. Is this the right way?
STRING IN-NOTES-3 DELIMITATED BY SIZE
IN-NOTES-4 DELIMITATED BY SIZE
INTO OUT-NOTES
END-STRING |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1204 Location: Dublin, Ireland
|
|
|
|
Please use code tags for your examples.
If you tried what you have shown, what results did you get?
DELIMITATED is not a valid keyword, suggest you try DELIMITED and see what happens.
Garry. |
|
Back to top |
|
|
Aravinth Kumar
New User
Joined: 20 May 2022 Posts: 6 Location: India
|
|
|
|
Oops!!!! that was a typo while I posted here for DELIMITED.
@Gary, i will try this and update here about the results.
STRING IN-NOTES-3 DELIMITED BY SIZE
IN-NOTES-4 DELIMITED BY SIZE
INTO OUT-NOTES
END-STRING |
|
Back to top |
|
|
|