Menu principal                 [Fechar]


CICS Manual do Usuário - ASKTIME


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

ASKTIME

Obtenha a current date (data atual) e o time of day (horário atual).

Sintaxe

Descrição

ASKTIME updates the date (EIBDATE) and CICS time-of-day clock (EIBTIME) fields in the EIB.
These two fields initially contain the date and time of when the task started.
Refer to Appendix A, EXEC interface block (EIB) fields for details of the EIB.

Opções

    ABSTIME(data-area)
  • Specifies the data area for the time, in packed decimal, since 00:00 on 1 January 1900 (in milliseconds rounded to the nearest hundredth of a second).
  • You can use FORMATTIME to change the data into other familiar formats.
  • For example, after execution of the following command:
         EXEC CICS 
              ASKTIME ABSTIME(utime)
         END-EXEC
    

    utime contains a value similar in format to 02837962864820.

    O formato da área de dados é:

    COBOL

    PIC S9(15) COMP-3

    C or C++

    char data_area[8];

    PL/I

    FIXED DEC(15);

Informações relacionadas




© Copyright IBM Corp.