Hi forum,
I am working on the Sample JCL of this fantastic site. In Sample program with JCLS
My JCL
https://drive.google.com/file/d/0B5g92D ... dzWlE/view
JESJCL
https://drive.google.com/file/d/0B5g92D ... NSdDQ/view
JESYSMSG
https://drive.google.com/file/d/0B5g92D ... o3bDg/view
Assuming the sample JCL is correct, I do not quite figure out what is the solution. Appreciate your help.
Thank you.
Sample JCL: Sample program with JCLS
-
- Posts: 4
- Joined: Sat Oct 22, 2016 8:21 pm
- Skillset: vsam/jcl/cobol/ispf/sdsf/cics
- Referer: Google
-
- 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: Sample JCL: Sample program with JCLS
Assuming the sample JCL is correct, I do not quite figure out what is the solution.
the solution for what ?
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: 4
- Joined: Sat Oct 22, 2016 8:21 pm
- Skillset: vsam/jcl/cobol/ispf/sdsf/cics
- Referer: Google
Re: Sample JCL: Sample program with JCLS
JCL ended in error. In JESYSMSG
22 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RES
IEF212I COMPJCL COBOL STEP1 STEPLIB - DATA SET NOT FOUND
Appreciate help how to fix the above and get the JCL going? Thanks.
22 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RES
IEF212I COMPJCL COBOL STEP1 STEPLIB - DATA SET NOT FOUND
Appreciate help how to fix the above and get the JCL going? Thanks.
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: Sample JCL: Sample program with JCLS
andy_chung wrote:Assuming the sample JCL is correct
And yet the messages tell you, quite clearly, that it is not correct, so why make this assumption?
As your homework assignments:
- Look up message IEF686I. Explain to us (not doing a copy-and-paste of the documentation) why such a situation occurs and why your screenshot of the JESJCL sysout is useless in finding the cause in this case.
- Do likewise for message IEF212I.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Sample JCL: Sample program with JCLS
The IEF686I message appears to be a warning; at least at the moment I wouldn't worry about it.
The show stopper is the IEF212I COMPJCL COBOL STEP1 STEPLIB - DATA SET NOT FOUND message. If you look at the expansion of the IGYWCL JCL procedure, in step COBOL you should see XXSTEPLIB DD DISP=SHR,DSN=xxxx The message is saying the data set is not cataloged. Since you didn't show us that portion of the JESJCL data set, that's about all anyone can say at this point.
The show stopper is the IEF212I COMPJCL COBOL STEP1 STEPLIB - DATA SET NOT FOUND message. If you look at the expansion of the IGYWCL JCL procedure, in step COBOL you should see XXSTEPLIB DD DISP=SHR,DSN=xxxx The message is saying the data set is not cataloged. Since you didn't show us that portion of the JESJCL data set, that's about all anyone can say at this point.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Sample JCL: Sample program with JCLS
Why could you not simply cut and paste your screens directly into your post so that all your information was in one place?
You did notice, didn't you, that your STEPLIB was not found???
You did notice, didn't you, that your STEPLIB was not found???
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Posts: 4
- Joined: Sat Oct 22, 2016 8:21 pm
- Skillset: vsam/jcl/cobol/ispf/sdsf/cics
- Referer: Google
Re: Sample JCL: Sample program with JCLS
Thank you for all the input.
looking at the expansion of the IGYWCL JCL procedure, IGY.V4R1M0 not found.
Amended ADCD.Z110.PROCLIB(IGYWCL). Change IGY.V4R1M0 to IGY410.
Seems like the compile JCL is going.
I am having problem in the sample cobol.
Early warning: Please be prepared to see similar message in COBOL session as I am pretty think skinned lol.
looking at the expansion of the IGYWCL JCL procedure, IGY.V4R1M0 not found.
Amended ADCD.Z110.PROCLIB(IGYWCL). Change IGY.V4R1M0 to IGY410.
Code: Select all
//***IGYWCL PROC LNGPRFX='IGY.V4R1M0',SYSLBLK=3200,
//IGYWCL PROC LNGPRFX='IGY410',SYSLBLK=3200,
// LIBPRFX='CEE',
// PGMLIB='&&GOSET',GOPGM=GO
Seems like the compile JCL is going.
I am having problem in the sample cobol.
Early warning: Please be prepared to see similar message in COBOL session as I am pretty think skinned lol.
-
- 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: Sample JCL: Sample program with JCLS
unless You belong to the support group it is inconsiderate to update the system provided datasets
( it is cause for lawful termination )
( it is cause for lawful termination )
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
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Sample JCL: Sample program with JCLS
If you are having a problem, you need to post SOMETHING for us to help you -- preferably an indication whether the problem is with compiling the code or executing the code, any error message(s) displayed, and anything else that would help. My experience with the IBM COBOL sample code is that the JCL needs to be changed for the site, and the code will compile and execute but may require additional steps to generate anything but trivial results.I am having problem in the sample cobol.
-
- Posts: 4
- Joined: Sat Oct 22, 2016 8:21 pm
- Skillset: vsam/jcl/cobol/ispf/sdsf/cics
- Referer: Google
Re: Sample JCL: Sample program with JCLS
Thanks.
1. I think I could keep ADCD the same and refer another example reusable JCL -> Compile JCL. that example offers "//PROCLIB JCLLIB ORDER=IBMMFS.PROC.IBMCOB <= CONTAINS IGYWCL" where I could put the tweaked IGYWCL.
2. I have already get thru the COBOL in "Sample Program with JCLS"
3. Working thru the Reusable JCL -> Utilities -> DFSORT. Wonder if there is any sample data sets illustrating the JCL codes?
1. I think I could keep ADCD the same and refer another example reusable JCL -> Compile JCL. that example offers "//PROCLIB JCLLIB ORDER=IBMMFS.PROC.IBMCOB <= CONTAINS IGYWCL" where I could put the tweaked IGYWCL.
2. I have already get thru the COBOL in "Sample Program with JCLS"
3. Working thru the Reusable JCL -> Utilities -> DFSORT. Wonder if there is any sample data sets illustrating the JCL codes?
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 2336
-
by VJSIRI
View the latest post
Fri Nov 13, 2020 1:53 am
-
- 6
- 2598
-
by sergeyken
View the latest post
Wed Nov 24, 2021 11:26 pm
-
- 2
- 2988
-
by willy jensen
View the latest post
Wed Jan 04, 2023 2:17 pm
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2605
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-
-
- 2
- 3175
-
by enrico-sorichetti
View the latest post
Mon Oct 30, 2023 6:25 pm