Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

printInFile(filepath, var[, charset])

Package

file

Alias


Pkg Usage

print(filepath, var[, charset])

Description

Excerpt
hiddentrue

Prints in the specified file the provided value.

Prints in the specified file the provided value. It appends the value to the file. For best results, use absolute paths, since relative paths are resolved starting with the current working directory.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

filepath

String

Yes

Specifies the file name to write in.

var

String

Yes

Specifies the character expression to write into the file filepath.

charset

String

No

Specifies the charset used to write that file. Available starting with katl-commons 4.0.0.

Return Type

None

The returned value has no meaning.

...

Note

It is recommended that you use forward slashes ( / ) for file paths. As a general observation use the silEnv() routine to create an absolute path.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "file_routine" and space = currentSpace ( )
labelsarray_routines