GDDM-PGF V2R1.3 Programming Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


CSSAVE

GDDM-PGF V2R1.3 Programming Guide and Reference
SC33-0333-01



Function: To save chart information.


   CSSAVE      (chart-id, type, name, mode)

APL code 1223 PGF RCP code X'14000014' (335544340)


Parameters


chart-id (specified by user) (fullword integer)
Gives the identification number of the chart to be saved.


type (specified by user) (fullword integer)
Gives the type of chart object to be saved.

1
Save a chart format in an object called name

2
Save a chart data in an object called name

4
Save a chart data and format as a graphic data format (GDF) file in an object called name

5
Save a data definition in an object called name.

See CSCHA, CSFLT, CSINT, CSNUM, CSXDT, CSXSL, CSYDT, CSYSL, CSZDT, and CSZSL for details of which items are saved with which type of chart object.

name (specified by user) (8-byte character string)
Gives the name of the chart object to be saved.


mode (specified by user) (fullword integer)
Indicates whether an existing object with the same name can be overwritten or not.

1
An existing object may not be overwritten.

2
An existing object may be overwritten.

Description


Saves chart objects. The name parameter updates the current chart name set by CSCHA. The description saved with the current chart object is taken from the chart description set by CSCHA.

Principal errors


ADM0324 E
FILE 'a' ALREADY EXISTS
ADM0713 E
CHART {DATA|FORMAT} CANNOT BE SAVED WITH NAME '*'
ADM0714 E
TOO MUCH DATA TO {SAVE|PRINT|DISPLAY}
ADM0720 E
CHART IDENTIFIER (=n) IS INVALID
ADM0721 E
CHART WITH IDENTIFIER n DOES NOT EXIST
ADM0725 E
'TYPE' (=t) IS INVALID
ADM0726 E
'MODE' (=n) IS INVALID

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012