Using not equal in a sysin statment

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
samb01
Posts: 433
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Using not equal in a sysin statment

Postby samb01 » Tue Jun 16, 2026 6:49 pm

Hello,

in a sysin statement JCL, how can i use not equal symbol ?

For example

Code: Select all

INCLUDE VOLSTAT^=SCRATCH


But i have thsi message

Code: Select all

15.14.58 CTT700I INCLUDE VOLSTAT^=SCRATCH                                     
15.14.58 CTT701S INCLUDE/EXCLUDE STATEMENT ERROR. FUNCTION=BUILD   , RC=16. EXE
15.14.58 CTT705I CONTROL-M/TAPE UTILITY CTTRPT   ENDED RC=012                 


Thank's for your help

User avatar
sergeyken
Posts: 473
Joined: Wed Jul 24, 2019 10:12 pm
Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
Referer: Internet search

Re: Using not equal in a sysin statment

Postby sergeyken » Tue Jun 16, 2026 8:58 pm

Any //SYSIN statement only defines input data (maybe, control statements) for a particular program/module specified in // EXEC PGM=program statement.

So, any allowed syntax "in your SYSIN statement" depends exclusively on: what is the exact program you try to run???

It looks that your utility is CTTRPT?
If so, try to read User Manual on control statements for this specific utility. (NOT FOR JCL SYSIN!!!)
Javas and Pythons come and go, but JCL and SORT stay forever.

User avatar
sergeyken
Posts: 473
Joined: Wed Jul 24, 2019 10:12 pm
Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
Referer: Internet search

Re: Using not equal in a sysin statment

Postby sergeyken » Tue Jun 16, 2026 9:12 pm

sergeyken wrote:Any //SYSIN statement only defines input data (maybe, control statements) for a particular program/module specified in // EXEC PGM=program statement.

So, any allowed syntax "in your SYSIN statement" depends exclusively on: what is the exact program you try to run???

It looks that your utility is CTTRPT?
If so, try to read User Manual on control statements for this specific utility. (NOT FOR JCL SYSIN!!!)


P.S.
I've never used CTTRPT utility in my life.
Nevertheless it took less than 3 minutes for me to find the answer using Google Search.

Good luck! I do not plan to do other's job, and present them simple results.
Javas and Pythons come and go, but JCL and SORT stay forever.

samb01
Posts: 433
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Re: Using not equal in a sysin statment

Postby samb01 » Thu Jun 18, 2026 1:18 pm

Hi sergeyken.
Thank' s for spending time and answering my post.

I found that

Code: Select all

§