Hi guys,
i am new to Mainframe and I have been trying to submit jobs so i can get a PDF output, it's the way we view our jobs at work.
However, i seem to be hitting a wall because i am seeing JCL internal error.
i must stress i am only a beginner, and there is no one left work that knows how to fix this error because they are retired and mainframe is no longer supported over here.
I have attached screenshots of the JCL, would greatly appreciate it if someone could help!
Also, if the issue is resolved, how would i set up the JCL and save it so it runs each time i submit a job? If anyone has a process or step by step..
i look forward to hearing from you guys.
Thanks
JCL Internal Error
- prino
- Posts: 641
- Joined: Wed Mar 11, 2009 12:22 am
- Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
- Referer: Google
- Location: Vilnius, Lithuania
- Contact:
Re: JCL Internal Error
The problem is in line 42!
FFS, how do you think we can see what's wrong if you don't show the output of the job, with the error?
FFS, how do you think we can see what's wrong if you don't show the output of the job, with the error?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
robert.ah.prins @ the.17+Gb.Google thingy
-
- Posts: 6
- Joined: Mon Oct 14, 2019 2:58 pm
- Skillset: Mainframe beginner
- Referer: Google search
Re: JCL Internal Error
Like i said i'm just a beginner..
Just trying to ask for some help.
I've shown you what i can see on my screen, is there something else you would like to see?
No need for language like that!
Just trying to ask for some help.
I've shown you what i can see on my screen, is there something else you would like to see?
No need for language like that!
-
- Posts: 6
- Joined: Mon Oct 14, 2019 2:58 pm
- Skillset: Mainframe beginner
- Referer: Google search
Re: JCL Internal Error
Attached above
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: JCL Internal Error
the last message told nothing we did not know about
use sdsf to look at the job output and identify the REAL cause
wild guess... a dataset not found ???

use sdsf to look at the job output and identify the REAL cause
wild guess... a dataset not found ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 6
- Joined: Mon Oct 14, 2019 2:58 pm
- Skillset: Mainframe beginner
- Referer: Google search
Re: JCL Internal Error
Just went on sdsf and took some screenshots.
can only attach 3 screenshots per message so 1-3 on here and 4-6 on the next message.
can only attach 3 screenshots per message so 1-3 on here and 4-6 on the next message.
-
- Posts: 6
- Joined: Mon Oct 14, 2019 2:58 pm
- Skillset: Mainframe beginner
- Referer: Google search
Re: JCL Internal Error
following on from the above message
4-6 screenshots
4-6 screenshots
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: JCL Internal Error
what happened when You tried to read CAREFULLY all the sysout ?
the problem is clearly described by the messages
IEF344I, IGD17101I
go to ISPF 3.4 and try to delete the offending dataset
and ... NO REASON AT ALL to post screenshots
a plain TEXT cut and paste is more than enough
the problem is clearly described by the messages
IEF344I, IGD17101I
go to ISPF 3.4 and try to delete the offending dataset
and ... NO REASON AT ALL to post screenshots
a plain TEXT cut and paste is more than enough
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 6
- Joined: Mon Oct 14, 2019 2:58 pm
- Skillset: Mainframe beginner
- Referer: Google search
Re: JCL Internal Error
How would i go about deleting the offending dataset? I have gone into 3.4 but not letting me delete it.
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: JCL Internal Error
We've been through this before.
The CN(INTERNAL) in the message is a reference to the mechanism used to send the message to your work station. CN is an abbreviation for "console;" the message is sent using a mechanism an operator at some operator console or possibly another TSO user might use to send a message to your workstation. It does not imply there is some sort of internal error in the code that analyzes or processes JCL.
The actual error is in your JCL; as Mr. Sorichetti says, you will have to review your job's output through SDSF or whatever agent is used in your environment to review job output.
Sadly, JCL processing in z/OS is very convoluted and messages often appear in the oddest places. In the 1980s there was some effort to improve JCL related messages. If you think it's bad now get into your wayback machine to, say, 1985, and prepare to be horrified! Much of the code that scans your JCL goes back to the 1960s and has been patched to the point no one can really understand it. The whole mess really should be rewritten to modern standards, but no one wants to fund the effort. Many syntax errors point to something unrelated to the real syntax error. Usually it gets the correct statement! Most JCL related messages have a message ID IEFxxxx. Look for that and you should find the error.
Most, but not all, JCL related messages are in the JESYSMSG data set. Most syntax messages will be in the JESJCL data set. Look in both data sets.
Shortly after you submitted your job the JCL is analyzed and transformed into what is called "internal text." Most JCL errors are discovered in this phase. The actual JCL is discarded during this phase; the next step transforms the internal text into the control blocks used when the job is run. Some actual JCL errors are not detected until the job is actually run.
The CN(INTERNAL) in the message is a reference to the mechanism used to send the message to your work station. CN is an abbreviation for "console;" the message is sent using a mechanism an operator at some operator console or possibly another TSO user might use to send a message to your workstation. It does not imply there is some sort of internal error in the code that analyzes or processes JCL.
The actual error is in your JCL; as Mr. Sorichetti says, you will have to review your job's output through SDSF or whatever agent is used in your environment to review job output.
Sadly, JCL processing in z/OS is very convoluted and messages often appear in the oddest places. In the 1980s there was some effort to improve JCL related messages. If you think it's bad now get into your wayback machine to, say, 1985, and prepare to be horrified! Much of the code that scans your JCL goes back to the 1960s and has been patched to the point no one can really understand it. The whole mess really should be rewritten to modern standards, but no one wants to fund the effort. Many syntax errors point to something unrelated to the real syntax error. Usually it gets the correct statement! Most JCL related messages have a message ID IEFxxxx. Look for that and you should find the error.
Most, but not all, JCL related messages are in the JESYSMSG data set. Most syntax messages will be in the JESJCL data set. Look in both data sets.
Shortly after you submitted your job the JCL is analyzed and transformed into what is called "internal text." Most JCL errors are discovered in this phase. The actual JCL is discarded during this phase; the next step transforms the internal text into the control blocks used when the job is run. Some actual JCL errors are not detected until the job is actually run.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 7
- 4031
-
by jcdm
View the latest post
Tue Jul 25, 2023 11:57 am
-
- 1
- 1487
-
by sergeyken
View the latest post
Sun Oct 04, 2020 11:33 pm
-
- 1
- 4696
-
by jcdm
View the latest post
Mon Jul 17, 2023 3:48 pm
-
- 0
- 1219
-
by mehi1353
View the latest post
Tue May 28, 2024 2:42 pm
-
- 9
- 4798
-
by steve-myers
View the latest post
Sat Nov 13, 2021 12:17 am