Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 1.1.4.3 DBCS Literals




X Table 5 lists the formats and rules for DBCS literals. You can use either
X quotes or apostrophes for the opening and closing delimiters.


RevisionX  Table 5. Format and Rules for Forming DBCS Literals                       
RevisionX  Rules         RevisionX  OS/390 and VM                 RevisionX  AIX, OS/2, and Windows      
RevisionX  Format       
RevisionX               
RevisionX    G"<D1D2D3>"                
RevisionX    N"<D1D2D3>"                
RevisionX    G"D1D2D3"                 
RevisionX    N"D1D2D3"                 
RevisionX  G" N"        
RevisionX               
RevisionX               
RevisionX               
              
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX  Opening delimiters.  They    
RevisionX  must be followed immediately 
RevisionX  by a shift-out control       
RevisionX  character.                   
                              
RevisionX  For N-literals, when         
RevisionX  embedded quotes/apostrophes  
RevisionX  are specified as part of     
RevisionX  DBCS characters in a DBCS    
RevisionX  literal, a single embedded   
RevisionX  DBCS quote/apostrophe is     
RevisionX  represented by 2 DBCS        
RevisionX  quotes/apostrophes.  If a    
RevisionX  single embedded DBCS         
RevisionX  quote/apostrophe is found,   
RevisionX  an E-level compiler message  
RevisionX  will be issued and a second  
RevisionX  embedded DBCS                
RevisionX  quote/apostrophe will be     
RevisionX  assumed.                     
RevisionX  Opening delimiters.         
RevisionX                              
RevisionX                              
RevisionX                              
                             
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX  <            
RevisionX               
RevisionX  Represents the shift-out     
RevisionX  control character (X'0E')    
RevisionX  N/A                         
RevisionX                              
RevisionX  >            
RevisionX               
RevisionX  Represents the shift-in      
RevisionX  control character (X'0F')    
RevisionX  N/A                         
RevisionX                              
RevisionX  "            
RevisionX               
RevisionX               
RevisionX               
              
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX               
RevisionX  The closing delimiter.  They 
RevisionX  must appear immediately      
RevisionX  after the shift-in control   
RevisionX  character.                   
                              
RevisionX  Single-byte quotation marks  
RevisionX  or apostrophes can appear as 
RevisionX  part of DBCS characters in a 
RevisionX  DBCS literal between the     
RevisionX  shift-out and shift-in       
RevisionX  control characters.          
RevisionX  The closing delimiter.      
RevisionX                              
RevisionX                              
RevisionX                              
                             
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX  Character    
RevisionX  Range        
RevisionX               
RevisionX               
RevisionX               
RevisionX  X'00' to X'FF' for both      
RevisionX  bytes, except for X'0F7F'    
RevisionX  (or X'0F7D' if using         
RevisionX  apostrophes as the opening   
RevisionX  and closing delimiters).     
RevisionX  Any double-byte character   
RevisionX  in a DBCS code page.        
RevisionX                              
RevisionX                              
RevisionX                              
RevisionX  Maximum      
RevisionX  Length       
RevisionX  28 Characters                
RevisionX                               
RevisionX  N/A                         
RevisionX                              
RevisionX  Continuation 
RevisionX  Rules        
RevisionX  Cannot be continued across   
RevisionX  lines.                       
RevisionX  Cannot be continued across  
RevisionX  lines.                      

Subtopics:



Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.