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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Sep 09, 2008 11:29 am
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

Moderator Emeritus


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

PostPosted: Tue Sep 09, 2008 11:43 am
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:
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Sep 09, 2008 11:48 am
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts issue with timestamp differece DB2 6
No new posts Using MSGLEVEL=(1,1) in JCL JCL & VSAM 5
No new posts differece i keyword @d positional Mainframe Interview Questions 1
Search our Forums:

Back to Top