HELO TEST.EMAIL.COM
MAIL FROM:<AAA>
RCPT TO: <AAA>
DATA
FROM: <AAA>
TO: <AAA>
SUBJECT: KEYED FILE COMPARISON RESULT
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="COV.BRFC#"
--COV.BRFC#
Hi,
Please find attached the results for keyed file comparison of the files
requested.
In the o/p, I want to replace 'AAA' with the email ID supplied 'E1' as mentioned in the sort step above. But the SORT step is only considering
the first statement in the SYSIN "OPTION COPY", the second statement for the OUTREC is skipped and hence the sort step ends up only copying the input to the output.
Before executing the step, I have verified with the SAY command in the REXX exec to make sure that I am receiving E1 from the Panel.
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
Posted: Fri Mar 31, 2017 10:17 am Post subject: Re: accepting email id from the rexx panel
priyaranjan.mishra wrote:
In the o/p, I want to replace 'AAA' with the email ID supplied 'E1' as mentioned in the sort step above. But the SORT step is only considering
the first statement in the SYSIN "OPTION COPY", the second statement for the OUTREC is skipped and hence the sort step ends up only copying the input to the output.
priyaranjan.mishra,
Do you ever provide feedback on the solutions you receive? or is it always just ask your question , get answer and move on to your next question?
priyaranjan.mishra wrote:
In the o/p, I want to replace 'AAA' with the email ID supplied 'E1' as mentioned in the sort step above. But the SORT step is only considering
the first statement in the SYSIN "OPTION COPY", the second statement for the OUTREC is skipped and hence the sort step ends up only copying the input to the output.
Well if you paid attention to your OPTION COPY statement and noticed that you have a non-blank character in position 72 and DFSORT treats a non blank character in column 72 as a comment and it is continued on to the next line. So everything after the Option COPY statement is treated as comment
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum