View previous topic :: View next topic |
Author |
Message |
Nabanita Das Beginner
Joined: 09 Nov 2005 Posts: 33 Topics: 10
|
Posted: Wed Nov 23, 2005 4:20 am Post subject: How to locate the error messages after we use JEM |
|
|
Hi,
We use JEM for JCL SYNTAX checking.I find it difficult to locate the errors as they cannot be located. Anyone has any idea how we can go to the particular message?
Nabanita Das |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Nov 23, 2005 6:19 am Post subject: |
|
|
Quote: |
I find it difficult to locate the errors as they cannot be located. Anyone has any idea how we can go to the particular message?
|
Nabanita Das,
As far as I remember the error message statement line numbers (which are on the left side) are written with JEM error messages. Did you look at them?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ANIL SARATHY Beginner
Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Wed Nov 23, 2005 7:10 am Post subject: |
|
|
I hope you get erros like this
Code: |
----------------------------------------------------------------------------------------------
*** ERROR SUMMARY AND COUNTS *** JEM 6.2.4A 11/23/2005 13:04:13
1 ADVISORY LEVEL
0 WARNING LEVEL
2 ERROR LEVEL
3 TOTAL ISSUED 0 SUPPRESSED.
THE HIGHEST SEVERITY CODE ENCOUNTERED WAS 12.
LABEL SV MSG.NO. ERROR MESSAGE
-------- -- -------- -----------------------------------------------
.JAAA 8 DSS4050E - DATA SET NOT FOUND IN CATALOG
.JAAA 0 DSS8900A - DSN = "AAAAA.IMS.LOG1 "
.JAAB 12 DSS8250E - DBD "XFA0 " NOT FOUND
----------------------------------------------------------------------
|
to locate the error line
this finds the location JAAA in jcl. _________________ Anil Sarathy |
|
Back to top |
|
|
Nabanita Das Beginner
Joined: 09 Nov 2005 Posts: 33 Topics: 10
|
Posted: Fri Nov 25, 2005 7:27 am Post subject: |
|
|
Anil,
Thanks this works. But if there are many messages with same label .JAAA then what is the way to find out the particular one? In my previous project we had JJ(PROJCL) where we used 'JJFE <n> ' where n is the error message number. I was trying to find out similar command.
At this point I have another question. Can you tell me what is the command using JEM to check SYNTAX for specific IDCAMS COMMAND or PROC. Say for instance in JJ we can type JJ OPT on the command line and change the option to PROC or IDCAMS or other things. The default is JCL syntax checking.
Please let me know.
Thanks and Regards,
Nabanita Das |
|
Back to top |
|
|
ANIL SARATHY Beginner
Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Fri Nov 25, 2005 10:33 am Post subject: |
|
|
i will share few things which i know.
For multiple error Locate will not work.
After jem , type MD9999 as line command, which makes all error messages as data lines. then give find on error . it will take thru errors.
if MD9999 is not typed then , messages are not considered as part of jcl or job. so find on error will not point any errors.
We use JSCAN also to find errors. When jscan used , it will show line numbers of errors. Then locate them
I think JSCAN will be avaialable with JEM.
I didn't tried second thing. i will get back if i come to know about it. _________________ Anil Sarathy |
|
Back to top |
|
|
YSMVS Beginner
Joined: 19 May 2004 Posts: 51 Topics: 25 Location: My House
|
Posted: Fri Nov 25, 2005 5:15 pm Post subject: |
|
|
Anil,
MD edit macro worked fine for me also, a ggod think to know.
Thanks |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Sat Nov 26, 2005 8:25 am Post subject: |
|
|
Nabanita Das,
Fyi you can run JEM in batch mode also. In the batch mode all the messages are listed at the bottom.
Hope this helps..
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Phaninder Beginner
Joined: 06 Jul 2005 Posts: 27 Topics: 11
|
Posted: Tue Nov 29, 2005 2:42 pm Post subject: |
|
|
Anil/kolusu ,
After we give a MD999 to reset all the ones back to normal ..what is the command ? RES is not working ?
Thanks in Advance
---------------------
Phani |
|
Back to top |
|
|
ANIL SARATHY Beginner
Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Wed Nov 30, 2005 1:14 am Post subject: |
|
|
i don't know how to remove those messages , ie i do it in View mode.
Someone can let us know , if there is any command to undo MD999 _________________ Anil Sarathy |
|
Back to top |
|
|
Nabanita Das Beginner
Joined: 09 Nov 2005 Posts: 33 Topics: 10
|
Posted: Thu Dec 01, 2005 6:11 am Post subject: |
|
|
Kolusu,
Would you please let me know how JEM can be done in batch mode?
ALso there is another question that I asked . IS there any option to check specific IDCAMS , PROC syntax using JEM. When we try to do JEM on proc JEM thows error.
Thanks and Regards,
Nabanita |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Dec 01, 2005 6:50 am Post subject: |
|
|
Nabanita Das,
Please search before posting. Check this link
http://mvsforums.com/helpboards/viewtopic.php?t=250&highlight=jem+batch
Quote: |
ALso there is another question that I asked . IS there any option to check specific IDCAMS , PROC syntax using JEM. When we try to do JEM on proc JEM thows error.
|
huh ? I am lost here . What do you mean by specific IDCAMS proc? IDCAMS is an utility not a proc. Please post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
dojeb Beginner
Joined: 14 Jan 2003 Posts: 13 Topics: 0 Location: Morgan Hill, CA,USA
|
Posted: Fri Dec 09, 2005 11:12 am Post subject: Besides using JEM there is another Edit macro call JMSG |
|
|
If you receive an error that you want to see more details on the meaning, you can type in JMSG on the Command line and then place your cursor on the error label (.JAAA) that is next to the JCL statement and hit enter |
|
Back to top |
|
|
Nabanita Das Beginner
Joined: 09 Nov 2005 Posts: 33 Topics: 10
|
Posted: Mon Jan 23, 2006 6:00 am Post subject: |
|
|
What do you mean by specific IDCAMS proc? IDCAMS is an utility not a proc. Please post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
Kolusu,
I wanted ask whether there is a way to check the syntax of a proc or IDCAMS or any other utilities that are executed through a paticular jcl. Like in PRO/JCL we use JJ to check normal JCL syntax. But if we use PROCOPT it throws a panel where we can select option to check the syntax of an IDCAMS statement etc.
Hope I am able to clearly explain my query.. |
|
Back to top |
|
|
dojeb Beginner
Joined: 14 Jan 2003 Posts: 13 Topics: 0 Location: Morgan Hill, CA,USA
|
Posted: Fri Feb 03, 2006 11:27 am Post subject: JEM, JSCAN - JOB/SCAN or PRO/JCL JJ |
|
|
Whenever you have questions pertaining to JOB/SCAN (JEM, JSCAN, JREF,JCHG) or PRO/JCL (JJ Edit Macro), please contact Diversified Software. We will be more then glad to answer any and all your questions. 800/273-3774
Or visit our WEB site: www.diversifiedsoftware.com
You can also send us an EMail: support@diversifiedsoftware.com |
|
Back to top |
|
|
|
|