Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL Prep (warning messages and error messages)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL Prep (warning messages and error messages)
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

Site Director


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

PostPosted: Wed Nov 28, 2007 7:30 am    Post subject:
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    Post subject: Reply to: JCL Prep (warning messages and error messages)
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: 1288
Location: Chennai, India

PostPosted: Wed Nov 28, 2007 11:01 am    Post subject: Reply to: JCL Prep (warning messages and error messages)
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    Post subject: Reply to: JCL Prep (warning messages and error messages)
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: 1439
Location: Bangalore,India

PostPosted: Wed Nov 28, 2007 11:19 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us