View previous topic :: View next topic
|
Author |
Message |
VIGNRSH Warnings : 1 New User
Joined: 18 Mar 2007 Posts: 44 Location: New Jersey,USA
|
|
|
|
Hi,
I need to Insert the DFSORT - Reserved words in to my output records like
OUTFIL FNAMES=OUTDD2,
BUILD=(C'C'xxx'',76x)
My output with LRECL with 80 should appear as :
c'xxx' (followed by 76spaces)
c'xxx' (followed by 76spaces)
c'xxx' (followed by 76spaces)
What is the Special sysmbol i must use before the reserved words, Like C then- ' so that DFSORT processes them as text characters. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
VIGNRSH wrote: |
My output with LRECL with 80 should appear as :
Code: |
c'xxx' (followed by 76spaces)
c'xxx' (followed by 76spaces)
c'xxx' (followed by 76spaces) |
|
"c'xxx'" is six bytes, followed by "76spaces" is 82 bytes, not 80.....
Quote: |
What is the Special sysmbol i must use before the reserved words, Like C then- ' so that DFSORT processes them as text characters. |
Generally a quote within a quoted string is done by using a double quote....C'c''xxx'''? |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
VIGNRSH,
This has nothing to do with reserved words. It has to do with using two apostrophes for one apostrophe. You can use these DFSORT control statements for your example:
Code: |
OPTION COPY
OUTFIL FNAMES=OUTDD2,
BUILD=(C'C''XXX''',80:X)
|
|
|
Back to top |
|
|
|