Using the INCLUDE Command one receives "INVALID COMMAND".
search cancel

Using the INCLUDE Command one receives "INVALID COMMAND".

book

Article ID: 6466

calendar_today

Updated On:

Products

InterTest - CICS InterTest - Batch

Issue/Introduction

We have an User reporting an issue with the include command - it says invalid when the user tries to INCLUDE member-name . 

Current Setup - 

We have a pre allocated INT1CLIB library as - SYS.COMMON.INT1CLIB - 

with the attributes . 

Organization . . . : PO 

Record format . . . : FB 

Record length . . . : 80 

Block size . . . . : 27920 

1st extent cylinders: 1 

Secondary cylinders : 1 

Data set name type : LIBRARY 

=========================================== 

In the MR91CLST - It has been modified in the below fashion - 

/*Note4*/ 

/*FREE DD(INT1CLOG INT1CLIB INT1REPT) */ 

ALLOC DD(INT1CLIB) DSN('SYS.COMMON.INT1CLIB') SHR 

=========================================== 

Environment

Release: OSINBV00200-9.1-InterTest-Batch
Component:

Resolution

It looks like the client created an include member with MOVE statement.

I initially tested MOVE statement does not work with CA InterTest Batch.

 

CA InterTest Batch has it's own SET command to use in order to set the value of data field. 

I create separate include member and changed as follow:

From original client's file: 

 

MOVE 681952 TO RLL03261-EMP-USER-ID 

MOVE 0043 TO RLL03261-FORM-TYPE-ID 

MOVE 'RR' TO RLL03261-INV-ADJMT-ACTN-CD 

 

To 

 

SET RLL03261-EMP-USER-ID = 681952 

SET RLL03261-FORM-TYPE-ID = 0043 

SET RLL03261-INV-ADJMT-ACTN-CD = 'RR' 

 

And testing INCLUDE command works with SET command modification.