Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Special Character Usuage in OUTFIL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
VIGNRSH

New User


Joined: 18 Mar 2007
Posts: 30
Location: India

PostPosted: Tue May 20, 2008 12:22 pm    Post subject: Special Character Usuage in OUTFIL
Reply with quote

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
View user's profile Send private message
References
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1218
Location: At my desk

PostPosted: Tue May 20, 2008 3:14 pm    Post subject: Re: Special Character Usuage in OUTFIL
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 4677
Location: San Jose, CA

PostPosted: Tue May 20, 2008 9:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1