Skip to content

Commit a52983d

Browse files
committed
Fixes for Package Approvals
1 parent 2f21d08 commit a52983d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

endevor/ServiceNow-Interface/COBOL+REXX+Python-Example/C1UEXTT7.cob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@
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'

endevor/ServiceNow-Interface/COBOL+REXX+Python-Example/SERVINOW.rex

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
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
@@ -36,13 +39,7 @@
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;

0 commit comments

Comments
 (0)