IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL Prep (warning messages and error messages)


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Nov 28, 2007 7:12 am
Reply with quote

Hi all,

can anyone tell how to frame warning messages and error messages manually.

In JCL while doing jclprep we can see the warning messages and error messages. Can anyone please tell me how those messages are getting populated.

Because im doing a rexx tool to find syntax error in a cobol program. I want to populate the error messages and warning messages in the given program as how jcl prep is working.

Please help me out.

Thanks,
Ugandar..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Nov 28, 2007 7:30 am
Reply with quote

Hello,

Quote:
Because im doing a rexx tool to find syntax error in a cobol program. I want to populate the error messages and warning messages in the given program as how jcl prep is working
Is there some reason to use something other than the error messages presented by the compiler?
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Nov 28, 2007 7:46 am
Reply with quote

No, just need how the messages are getting populated while doing jclprep...

The below is the example

****** ***************************** Top of Data ****************************
=NOTE= 1 MESSAGE(S) REPORTED BY JCLPREP
=NOTE= 1 ERROR MESSAGE(S)
==MSG> JCP0173E EXPECTED CONTINUATION NOT FOUND -- (J)1
==MSG> JCP0173E EXPECTED CONTINUATION NOT FOUND -- (J)1
000001 //NBK2YYKT JOB (0008293ZZS,0J1,,C),'COBOL COMPILE',
000002 // CLASS=0,MSGCLASS=U,NOTIFY=&SYSUID,
000003 //*****************
=NOTE= //NBK2YYKT JOB (0008293ZZS,0J1,,C),'COBOL COMPILE',
=NOTE= // CLASS=0,MSGCLASS=U,NOTIFY=NBK2YYK,
000004 //UCC11 EXEC UCC11
=NOTE= XXUCC11RMS PROC TYPRUN=F
=NOTE= *** CREATED 8/14/06 BY CG
=NOTE= ***
=NOTE= ******************************************************************
=NOTE= *** CA11'S RMS PROCEDURE FOR TEST TSO SUBMITTED JOBS
=NOTE= ******************************************************************
=NOTE= ***
=NOTE= &&U11STEP EXEC PGM=U11RMS,PARM='&TYPRUN',REGION=6M
=NOTE= XXU11STEP EXEC PGM=U11RMS,PARM='F',REGION=6M
=NOTE= XX@SSNCAT7 DD DUMMY
=NOTE= XXRMSRPT DD SYSOUT=*
=NOTE= XXSYSUDUMP DD SYSOUT=I
=NOTE= XXABNLIGNR DD DUMMY
000005 //LIBR EXEC PGM=LIBR, * CHANGED SOURCE
000006 // PARM='NRJS,NJTA,IEX=R59001B,OEX=AUXINC'
000007 //STEPLIB DD DSN=DBITS.DBA.PGMLIB,DISP=SHR
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Wed Nov 28, 2007 11:01 am
Reply with quote

Dick,

I guess OP wants to do the syntax check without compiling the cobol program so that the errors and messages are displayed in the cobol code.
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Nov 28, 2007 11:17 am
Reply with quote

yes u r obsolutely correct..

I need to check the syntax of the cobol code and to show the error and warning messages in the cobol code itself. While typing 'RESET' in the command prompt those messages should go as it is working in jclprep..
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Nov 28, 2007 11:19 am
Reply with quote

Ugandar,
Quote:
yes u r obsolutely correct..

Just wanted to know, why do you need such tool? Is there any reason behind this.
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Nov 28, 2007 1:46 pm
Reply with quote

Just doing a tool bcoz everytime while compiling if there is any error we have to check the spool and we have to modify the program. Just for time constraint I am doing this tool..

Thanks,
Ugandar..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top