Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

TSN( ) Request TSN

&pagelevel(3)&pagelevel

Domain: Job information

The TSN( ) function supplies the task sequence number of the current job.

Format

TSN( )


Result type

STRING (<string 4..4>)

Input parameters

None

Result

Job number in the form of a string.

Error message

SDP0435  DESIRED INFORMATION NOT AVAILABLE

Example

/A = TSN()
/SHOW-VARIABLE A
A = 29XX

For the sake of comparison, the job number in the TSN field:

/show-job-status
%TSN:     29XX       TYPE:    3 DIALOG   NOW:     2007-04-26.110747
%JOBNAME: BERTA      PRI:     0 210
%USERID:  USER1      JCLASS:  JCDSTD     LOGON:   2007-04-26.1053
%ACCNB:   ACC01      CPU-MAX:   9999     CPU-USED:000000.6447
...