DTRHELP.HLB  —  Commands Statements Clauses, PRINT Statements
       Causes DEC DATATRIEVE to format and write one or more values of
       specified or implied DEC DATATRIEVE value expressions to your
       terminal or workstation, to a file, or to a unit record device.

       Format

         For retrieving from selected records and target record streams
         formed by FOR loops:

                           [    {file-spec  } ]
         PRINT  print-list [ ON {*.prompt   } ]
                           [    {           } ]

         For retrieving from the current collection:

                                  [    {file-spec  } ]
         PRINT  ALL  [print-list] [ ON {*.prompt   } ]
                                  [    {           } ]

         For retrieving from record streams formed by the PRINT
         statement using one RSE:

                                      [    {file-spec  } ]
         PRINT  [print-list  OF]  rse [ ON {*.prompt   } ]
                                      [    {           } ]

         For retrieving from record streams formed by the PRINT
         statement using two RSEs (the inner print list follows another
         print list):

         PRINT  print-list, ALL print-list OF rse-1 [,print-list] OF
                rse-2

         [    {file-spec  } ]
         [ ON {*.prompt   } ]
         [    {           } ]

         For retrieving from record streams formed by the PRINT
         statement using two RSEs (the inner print list precedes any
         other print list):

         PRINT  ALL  ALL  print-list  OF  rse-1  [,print-list]  OF  rse-2

         [    {file-spec  } ]
         [ ON {*.prompt   } ]
         [    {           } ]
Additional Information: explode extract
Arguments Examples
Close Help