IBM Extension

COPY Statement - Format 2 - DDS Translate

Read syntax diagramSkip visual syntax diagram
COPY Statement - Format 2 - DDS Translate

>>-COPY--+-DD---format-name---+--+-------+--+--------------+---->
         +-DD---ALL-FORMATS---+  +- -I---+  +- -INDICATOR--+   
         +-DDR---format-name--+  +- -O---+  +- -INDICATORS-+   
         +-DDR---ALL-FORMATS--+  '- -I-O-'  '- -INDIC------'   
         +-DDS---format-name--+                                
         +-DDS---ALL-FORMATS--+                                
         +-DDSR---format-name-+                                
         '-DDSR---ALL-FORMATS-'                                

>--+-OF-+--+--------------------+--file-name--+------+---------->
   '-IN-'  |                (1) |             '-WITH-'   
           '-library-name- -----'                        

   .---------------------------.                 
   V                           |                 
>----+-----------------------+-+--+----------+------------------>
     +-+-I-FIELDS---+--------+    '-SUPPRESS-'   
     | +-O-FIELDS---+        |                   
     | '-I-O-FIELDS-'        |                   
     +-+-INDICATOR--+--------+                   
     | +-INDICATORS-+        |                   
     | '-INDIC------'        |                   
     +-NULL-MAP--------------+                   
     +-NULL-MAP-ALPHANUM-----+                   
     +-NULL-KEY-MAP----------+                   
     +-PREFIX--BY--literal---+                   
     +-ALIAS-----------------+                   
     +-| SUBSTITUTE Phrase |-+                   
     '-VLR-------------------'                   

>--+-----------------------+--.--------------------------------><
   '-REPLACING--| phrase |-'      

SUBSTITUTE Phrase

|--SUBSTITUTE--+----------------------------+-------------------|
               '-ALL--+-------------------+-'   
                      '-EXCEPT--literal-2-'     

Notes:
  1. Required hyphen between library-name-file-name to qualify.
Related Information
End of IBM Extension