Hi Robert,
i dint use any file operation verbs. wrote very simple code.
Actually i'm experimenting on INTRDR.
Here is my 1st COBOL program.
IDENTIFICATION DIVISION.
PROGRAM-ID. T904CB01.
PROCEDURE DIVISION.
A000-MAIN-PARA.
DISPLAY 'HELLO WORLD, SHIVA 1ST PROGRAM'.
DISPLAY "//E183904J JOB ,,NOTIFY=&SYSUID,CLASS=D,MSGLEVEL=(1,
- "1),MSGCLASS=X"
DISPLAY "//JOBLIB DD DSN='OPERN.COBOL.LOADLIB',DISP=SHR"
DISPLAY "//STEP1 EXEC PGM=T904CB02"
DISPLAY "//SYSOUT DD SYSOUT=*"
STOP RUN.
to execute thE above COBOL i wrote below JCL.
//E183904J JOB ,,NOTIFY=&SYSUID,CLASS=D,MSGLEVEL=(1,1),MSGCLASS=X
//JOBLIB DD DSN='OPERN.COBOL.LOADLIB',DISP=SHR
//STEP1 EXEC PGM=T904CB01
//SYSOUT DD SYSOUT=(*,INTRDR)
after submit this JCL im getting the following datasets created in the SPOOL.
For the first JCL :
SDSF JOB DATA SET DISPLAY - JOB E183904J (JOB02382)
NP DDNAME StepName ProcStep DSID Owner C Dest
JESMSGLG JES2 2 E183904 X LOCAL
JESJCL JES2 3 E183904 X LOCAL
JESYSMSG JES2 4 E183904 X LOCAL
and the execution of 2nd COBOL program resulted in
-------------------------------------------------------------------
SDSF JOB DATA SET DISPLAY - JOB E183904J (JOB02383) LINE 1-4 (4)
NP DDNAME StepName ProcStep DSID Owner C Dest
JESMSGLG JES2 2 E183904 X LOCAL
JESJCL JES2 3 E183904 X LOCAL
JESYSMSG JES2 4 E183904 X LOCAL
SYSOUT STEP1 101 E183904 X LOCAL
So here SYSOUT is present only for 2nd COBOL program. But, for the first COBOL program i'm not able to see "HELLO WORLD, SHIVA 1ST PROGRAM" message in SPOOL's Dataset since SPOOL itself not created. 2nd COBOL program showing the output perfectly fine.
It might be a lengthy description but Pls help me out from this problem.