File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
endevor/ServiceNow-Interface/COBOL+REXX+Python-Example Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 393393 END-STRING
394394 END-IF .
395395****** * Replace any double quote characters in data to be passed
396- IF CAST-PACKAGE
396+ IF CAST-PACKAGE OR REVIEW-PACKAGE
397397 INSPECT PREQ-PACKAGE-COMMENT REPLACING ALL ' "' BY X'7D'
398398 INSPECT PHDR-PKG-NOTE1 REPLACING ALL ' "' BY X'7D'
399399 INSPECT PHDR-PKG-NOTE2 REPLACING ALL ' "' BY X'7D'
Original file line number Diff line number Diff line change 22/* Validate the Ticket# with Service-Now */
33/* This routine can be used to validate a CCID or package */
44/* name (for example) as valid Service-Now ticket numbers. */
5+ isItThere = ,
6+ BPXWDYN ( "INFO FI(SERVINOW) INRTDSN(DSNVAR) INRDSNT(myDSNT)" )
7+ If isItThere = 0 then Trace ?r
58 Arg Caller Ticket# TSOorBatch .
69 If TSOorBatch = 'B' then say "SERVINOW - validating" Ticket#
710 NEWSTACK
3639 lastrecord = Substr ( stdout.lastrec# , 1 , 40 )
3740 whereExists = Pos ( "Exists" , lastrecord )
3841 If whereExists = 0 then ,
39- Do
4042 Message = Caller '/SERVINOW - Ticket Number ' Ticket# ||,
4143 ' is **NOT** defined to Service-Now'
42- /* Print the output from running Python */
43- do i = 1 to stderr.0
44- say stderr.i
45- end /* Do.... */
46- End /* If whereExists = 0 */
4744 DELSTACK
4845 Return Message ;
You can’t perform that action at this time.
0 commit comments