|
|
| Author |
Message |
VIGNRSH
New User
Joined: 18 Mar 2007 Posts: 30 Location: India
|
|
|
|
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 |
|
 |
References
|
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1218 Location: At my desk
|
|
|
|
| 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 Moderator
Joined: 15 Feb 2005 Posts: 4675 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 |
|
 |
|
|