Ideal batch compile successful, but receives RC 8
search cancel

Ideal batch compile successful, but receives RC 8

book

Article ID: 187457

calendar_today

Updated On:

Products

Ideal

Issue/Introduction

When compiling an Ideal program in batch, the program compiles successfully yet the step receives a RC 8.

Environment

Z/OS

Ideal 

Cause

To reduce the amount of output, displays of the various program sections might be turned off by coding SET COMPILE... N.

Additionally, output lines are further reduced by running the batch Ideal step with PARM=NOPRINT.

The RC 8 in batch is likely due to some command that was executed during the batch process. One possibility is that the batch user has an Ideal SIGNON member that issues a command which gets an error. 

Resolution

Run IDBATCH with PARM PRINT . For example:

//IDEALCMP  EXEC PROC=IDEALCMP,REGION=0M,COND=(4,LT),
//   PARM.IDEAL='PRINT'

This allows to see all the commands executed as if running them from the online application.

To see the entire output of the compile, use SET statements to show all the pieces. Here is a sample set:

SET COMPILE IDE Y   
SET COMPILE EXD Y   
SET COMPILE BOD Y   
SET COMPILE ADV Y   
SET COMPILE IDE Y   
SET COMPILE PNL FULL
SET COMPILE REF FULL

Additional Information

For documentation, see Setting Compile Options.