Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

CICS Guy

Senior Member


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

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: 7130
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Continuation Character ballaswaroop SYNCSORT 8 Thu Aug 25, 2016 4:46 pm
No new posts Adding a descending character to a file Steve Ironmonger DFSORT/ICETOOL 3 Fri Jul 15, 2016 4:57 pm
No new posts Moving character data to smallint in db2 rikdeb DB2 5 Thu Jul 14, 2016 12:38 am
No new posts Remove Special Characters from Mainfr... Rodger Zhang All Other Mainframe Topics 6 Wed Jul 06, 2016 1:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us