Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.DATA BAD REQUESTThis subroutine allows you return an error message to the caller. This is only useful when working with the Data API (Release 5.5.0 & higher)Usage: | ||||||||
Changed: | ||||||||
< < | PASS <stream_name> FIELD SHARE? N PASS <pathname> FIELD SHARE? N PASS <open_mode> FIELD SHARE? N PASS <line_termination> FIELD SHARE? N GOSUB --- .STREAM OPEN * check for errors IF --- .STREAM OPEN NE | |||||||
> > | PASS <error_message> FIELD SHARE? N GOSUB --- .DATA BAD REQUEST | |||||||
Description: | ||||||||
Added: | ||||||||
> > | This subroutine will return a JSON formatted message to the caller in the form { "Error":"<error_message"} <error_message> is the text you want to return to the caller (Optional). If nothing is received, then it will default to 'Invalid Request'. | |||||||
Comments-- Jean Neron - 2020-03-03 \ No newline at end of file |