Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Thu Jun 09, 2005 8:20 am Post subject:
Quote:
When I scan the JCL for errors, it says, "PROGRAM "TESTPGM0" NOT FOUND"
Avid_learner,
The message is self explanatory, the program TESTPGM0 is not found in the library "PICM.CP000000.FWF1.#000890.BLM". so specify the right loadlib library in the steplib. Also a dibakar mentioned , you can remove the joblib.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Fri Jun 10, 2005 8:01 am Post subject:
Quote:
The jcl code is not being executed... suggestions please!!!
avid_lrner,
How do you expect us to help you without any error/abend messages ? All we have is one liner that the code is not exceuted. We cannot see your pgm code or error messages. Remember that we aren't Psychics. So post the error messages.
Posted: Wed Jun 15, 2005 2:12 am Post subject: Submitting a JCL thru Cobol
Sorry for the delayed response.
Here's the Code:
Code:
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VAR PIC 9(02) VALUE 10.
*********************************************************
PROCEDURE DIVISION.
*********************************************************
THIS PARAGRAPH CONTROLS THE PROGRAM'S MAIN PROCESSING *
*********************************************************
A1000-MAIN-PARA.
----------------
IF WS-VAR = 10
PERFORM C1000-PROCESS-PARA
THRU C1000-EXIT
ELSE
DISPLAY 'IF DID NOT SATISFY'
END-IF.
STOP RUN.
***********************************************************
*THIS PARAGRAPH SUBMITS A JCL
***********************************************************
C1000-PROCESS-PARA.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Wed Jun 15, 2005 6:16 am Post subject:
avid_lrner,
Quote:
IEFC620I UNIDENTIFIABLE CHARACTER " ON THE JOB STATEMENT
The message is self explanatory. try to decipher the error and try to solve it instead of trying to get help from others. This will make you a better programmer.
Look at the error message carefully
Quote:
IEFC620I UNIDENTIFIABLE CHARACTER " ON THE JOB STATEMENT
Note the double quotes in bold. You cannot have double quotes on your job statement so change them to single quotes.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum