DBPRINT (Databank)

Example

DBPRINT prints all the series in a TSP databank, under the control of the current FREQ and SMPL.

DBPRINT <filename> ;

Usage

Follow the word DBPRINT with the filename of the TSP databank whose series are to be printed. Make sure the FREQ (if any) and SMPL have been set. The FREQ and SMPL information on series from a DBLIST command may be useful for setting FREQ and the SMPL range. Any series not stored with the FREQ currently in effect will not be printed. TSP variables other than series, such as matrices and FRMLs, will not be printed. Parameters and constants can be printed with the DBLIST command, while matrices and equations can be printed using IN and PRINT together. The series printed are only temporarily brought into memory -- they are only stored when they have been accessed with an IN command. This protects any currently stored series from being overwritten by a series in the databank with the same name. Only one databank can be printed in a DBPRINT command.

Example

Suppose that you have a databank called FOO.TLB which contains two time series X and Y, and a parameter B. The commands

FREQ Q;

SMPL 60:1,60:4;

DBPRINT FOO;

would yield:

VALUES FOR ALL SERIES IN DATABANK FOO.TLB

 

 

    X

    Y

1960:1

    1.00000

    11.0000

1960:2

    2.00000

    22.0000

1960:3

    3.00000

    33.0000

1960:4

    4.00000

    44.0000