View previous topic :: View next topic
|
Author |
Message |
KMK
New User
Joined: 29 Jul 2005 Posts: 18
|
|
|
|
Hi,
When i stage a ASM/CICS program in Changeman, if it fails in compile program ASM90, JCL error occurs and changeman doesnt produce any listing in the spool and hence it is difficult to find out where the error occurs while compilation.
One way of tackling now is adding the program for intertest and it produces Listing even if JCL error but this is creating more entries in ITST.
FYI .. I know that Listing can be get in Build --> List option if the program compiled successfully..
But
Is there any other way to get compiler listing in some dataset if error occurs ? I tried to give override for the SYSPRINT DSN in Job statement but it ends in error for misplaced DSN. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Errrrmm, well, if the job fails JCL error it has failed. My first priority would be to resolve the JCL error. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Expat,
I imagine the TS had a compile error,
and in the usual technically illiterate manner of many of our board members,
simply said JCL error.
KMK,
I realize that you do not want to draw attention to yourself at your shop,
but,
you have to ask someone there.
no one on this board knows
how changeman is configured at your site,
how the jcl is setup and the disposition of output files.
since you do not have the technical expertise to look at the job and
determine where the listing is,
you're going to have to expose your ignorance and ask someone there. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Dick, it appears the speed of the eyes deceived the brain here
Quote: |
if it fails in compile program ASM90, JCL error occurs and changeman doesnt produce any listing in the spool and hence it is difficult to find out where the error occurs while compilation. |
I would suggest looking at where the output goes and then make sure it is accessible for whatever happens during or after the compile.
Apologies for any misunderstanding / misleading comments |
|
Back to top |
|
|
ChowHan
New User
Joined: 16 Oct 2009 Posts: 15 Location: India
|
|
|
|
Hmmm...
never staged a assembler code in changeman myself, but you can change the job card of the compile job in any case. You could try changing the jobcard to set the msglevel and msgclass so listing is produced and archived in SAR (not tried that either, myself, will test that to see if access issues prevent it...)
In the end, as Dick said, no one knows the setup in your shop except your guys. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
KMK wrote: |
FYI .. I know that Listing can be get in Build --> List option if the program compiled successfully.. |
If this were true - how a programmer would ever check for the syntax errors for a program which is not compiled successfully. May be you meant something else but this does not make much sense in the context of this thread.
COBOL compiler option LIST generates a pseudo-assembler listing of the compiled program, which gives you every offset in the program. And the option OFFSET, which is usually the default, provides the first offset for each COBOL verb in your PROCEDURE DIVISION. OFFSET and LIST are conflicting options, if you select one, the other automatically will not be selected - so are you using any one of them at the time of compilation? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
KMK wrote: |
One way of tackling now is adding the program for intertest and it produces Listing even if JCL error but this is creating more entries in ITST. |
What is ITST? Sounds like a local jargon?
Also, Change-man is not a Product from CA, it's a product from SERENA - so I've moved your topic to "Other Mainframe Topics". |
|
Back to top |
|
|
|