IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Special Character Usuage in OUTFIL


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
VIGNRSH
Warnings : 1

New User


Joined: 18 Mar 2007
Posts: 44
Location: New Jersey,USA

PostPosted: Tue May 20, 2008 12:22 pm
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
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue May 20, 2008 3:14 pm
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 Developer


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

PostPosted: Tue May 20, 2008 9:27 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts String has hex character need to conv... COBOL Programming 3
No new posts Output LREC based on specific character DFSORT/ICETOOL 22
Search our Forums:

Back to Top