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
 

 

Differece between MSGLEVEL = (1,1) and =(2,1)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
debanandaghosh
Currently Banned

New User


Joined: 19 Aug 2008
Posts: 7
Location: bhubanaswer

PostPosted: Tue Sep 09, 2008 10:41 am    Post subject: Differece between MSGLEVEL = (1,1) and =(2,1)
Reply with quote

Can any one tell me in details about the differece between MSGLEVEL = (1,1) and =(2,1). WITH EXAMPLE please
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 09, 2008 11:29 am    Post subject:
Reply with quote

What does the manual say ? What do your sysprogs say ?
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: Tue Sep 09, 2008 11:43 am    Post subject:
Reply with quote

Hello,

If you are not familiar with ways to find/use the documenation, there is a link at the top of the page called "IBM Manuals". Among them are current JCL manuals. Each of the manuals is searcdhable (the yellow flashlight/tubelight).

Here is the result of one such search:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea2b650/20.14.2?
Back to top
View user's profile Send private message
debanandaghosh
Currently Banned

New User


Joined: 19 Aug 2008
Posts: 7
Location: bhubanaswer

PostPosted: Tue Sep 09, 2008 11:46 am    Post subject:
Reply with quote

'The system prints all JCL statements, JES2 or JES3 control statements, the procedure statements, and IEF653I messages, which give the values assigned to symbolic parameters in the procedure statements. '

IT MEANS THAT IN msglevel(1,*) the JCL will be expanded along with Proc,CTL in the spool .IS IT? BUT IN MSGLEVEL(1,1) I DONT THINK THE JCLS ARE EXPANDED WITH PROC,CTL.....so wats the difference between 1 AND 2
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 09, 2008 11:48 am    Post subject:
Reply with quote

Why don't you try the different options and compare the results.
Back to top
View user's profile Send private message
debanandaghosh
Currently Banned

New User


Joined: 19 Aug 2008
Posts: 7
Location: bhubanaswer

PostPosted: Tue Sep 09, 2008 11:49 am    Post subject:
Reply with quote

yES THATS WAT I DID AND FOUND SPOOL IS AME FOR BOTH SCENARIO .
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Sep 09, 2008 3:38 pm    Post subject:
Reply with quote

Because there may not be any substitutions in the jcl.

look for below JESJCL statements:
when MSGLEVEL=(1,1)
Code:

//DEXSORT  JOB (0PEX),'DEXSORTR',CLASS=3,MSGCLASS=X,NOTIFY=&SYSUID,     JOB013
//        MSGLEVEL=(1,1)                                                000020
//*                                                                     000030
IEFC653I SUBSTITUTION JCL - (0PEX),'DEXSORTR',CLASS=3,MSGCLASS=X,NOTIFY=DEX004
//S1    EXEC  PGM=ICETOOL                                               000100
//SYSOUT    DD  SYSOUT=*                                                000200
//DFSMSG    DD  SYSOUT=*                                                000210
//TOOLMSG   DD  SYSOUT=*                                                000220


when MSGLEVEL=(2,1)
Code:

//DEXSORT  JOB (0PEX),'DEXSORTR',CLASS=3,MSGCLASS=X,NOTIFY=&SYSUID,     JOB013
//        MSGLEVEL=(2,1)                                                000020
//*                                                                     000030
//S1    EXEC  PGM=ICETOOL                                               000100
//SYSOUT    DD  SYSOUT=*                                                000200
//DFSMSG    DD  SYSOUT=*                                                000210
//TOOLMSG   DD  SYSOUT=*                                                000220


Note the Values of parameter NOTIFY
Back to top
View user's profile Send private message
debanandaghosh
Currently Banned

New User


Joined: 19 Aug 2008
Posts: 7
Location: bhubanaswer

PostPosted: Tue Sep 09, 2008 5:05 pm    Post subject:
Reply with quote

thaaanks sambhaaji
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Sep 09, 2008 5:57 pm    Post subject:
Reply with quote

WELCOME icon_biggrin.gif
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 issue with timestamp differece Bhanupratap Natva DB2 6 Mon Nov 02, 2009 6:17 pm
No new posts Using MSGLEVEL=(1,1) in JCL. Robert Sample JCL & VSAM 5 Tue Feb 03, 2009 2:20 pm
No new posts differece i keyword @d positional shilpadeshmukh Mainframe Interview Questions 1 Sun Jan 15, 2006 11:58 am


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