SMS_CreateReport

SMS_CreateReport(bJobStatus,sMsg)

Option

Description

Type

bJobStatus
sMsg

Returned jobstatus of current job
Message. Max-size : 128 characters

Boolean
String

Return Type

Boolean, TRUE if function completed successfully.

Description

Creates Jobstatus report in MIF-format. The function is automatically invoked by Job_End.

Example

<Add Function Scripting Guidelines here>

bStatus=True
If bStatus Then bStatus=IncludeScript("customlib.cis")
If bStatus Then bStatus=IncludeScriptingLibrary("CapaInstaller Scripting Library.cin")

If bStatus Then bStatus=Job_SetPlatform("SMS")
If bStatus Then bStatus=Job_Start("WS","RegValues Job","1.0","Capalib_test.log","INSTALL")
If bStatus Then bStatus=SMS_CreateReport(bStatus, "Current JobStatus")
Job_End(bStatus)

See Also

Job_ReportStatus Job_Webreport