IMPORT in CMS

TSO With ISPF TSO Without ISPF CMS With ISPF CMS Without ISPF CICS
X X

The IMPORT command copies a CMS file into QMF temporary storage or into the database.

You can import queries, forms, procedures, and data into QMF temporary storage or into the database. When importing a data object, the current form object is replaced by the default form for the imported data object.

IMPORT a QMF object into temporary storage

                                                  (1)
                                     .-objecttype-------A-.
>>-IMport--+-QUERY-+--From -filename-+--------------------+----><
           +-FORM--+                 |           .-A-.    |
           +-PROC--+                 +-filetype--+---+----+
           '-DATA--'                 '-filetype--fm-------'

Notes:
  1. The first 8 characters of the object type name is used.

IMPORT a QMF QUERY or PROC into the database

>>-IMport--+-QUERY-+--objectname-------------------------------->
           '-PROC--'

                               (1)
                  .-objecttype-------A-.
>--From -filename-+--------------------+------------------------>
                  |           .-A-.    |
                  +-filetype--+---+----+
                  '-filetype--fm-------'

>--+---------------------------------------------------+-------><
   |    .-+---+--------------------------------.       |
   |    | '-,-'                                |       |
   |    V                                      |       |
   '- (---+----------------------------------+-+-+---+-'
          |                         (2)      |   '-)-'
          |         .-=-. .-profile------.   |
          +-CONfirm-+---+-+-Yes----------+---+
          |               '-No-----------'   |
          |                           (3)    |
          |       .-=-. .-dsqec_share------. |
          +-SHare-+---+-+-Yes--------------+-+
          |             '-No---------------' |
          |         .-=-.                    |
          '-COMment-+---+-value--------------'

Notes:
  1. The first 8 characters of the object type name is used.
  2. The value set in your profile is used.
  3. For an object being replaced the current value is left unchanged. Otherwise the value set in this global variable is used.

IMPORT a QMF FORM into the database

>>-IMport--FORM--objectname------------------------------------->

                               (1)
                  .-objecttype-------A-.
>--From -filename-+--------------------+------------------------>
                  |           .-A-.    |
                  +-filetype--+---+----+
                  '-filetype--fm-------'

>--+----------------------------------------------------------+-><
   |    .-+---+---------------------------------------.       |
   |    | '-,-'                                       |       |
   |    V                                             |       |
   '- (---+-----------------------------------------+-+-+---+-'
          |                                  (2)    |   '-)-'
          |          .-=-. .-dsqec_form_lang------. |
          +-Language-+---+-+-English--------------+-+
          |                '-Session--------------' |
          |                         (3)             |
          |         .-=-. .-profile------.          |
          +-CONfirm-+---+-+-Yes----------+----------+
          |               '-No-----------'          |
          |                           (4)           |
          |       .-=-. .-dsqec_share------.        |
          +-SHare-+---+-+-Yes--------------+--------+
          |             '-No---------------'        |
          |         .-=-.                           |
          '-COMment-+---+-value---------------------'

Notes:
  1. The first 8 characters of the object type name is used.
  2. The value set in this global variable is used.
  3. The value set in your profile is used.
  4. For an object being replaced the current value is left unchanged. Otherwise the value set in this global variable is used.

IMPORT a TABLE into the database

>>-IMport--TABLE--tablename------------------------------------->

                               (1)
                  .-objecttype-------A-.
>--From -filename-+--------------------+------------------------>
                  |           .-A-.    |
                  +-filetype--+---+----+
                  '-filetype--fm-------'

>--+-------------------------------------------------+---------><
   |    .-+---+------------------------------.       |
   |    | '-,-'                              |       |
   |    V                                    |       |
   '- (---+--------------------------------+-+-+---+-'
          |        .-=-. .-Replace-.       |   '-)-'
          +-Action-+---+-+-Append--+-------+
          |                         (2)    |
          |         .-=-. .-profile------. |
          +-CONfirm-+---+-+-Yes----------+-+
          |               '-No-----------' |
          |         .-=-.                  |
          '-COMment-+---+-value------------'

Notes:
  1. The first 8 characters of the object type name is used.
  2. The value set in your profile is used.
[ Previous Page | Next Page | Contents | Index ]