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

doubt over the use of the card \*CNTL


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

New User


Joined: 20 Jun 2005
Posts: 3
Location: Bangalore,india.

PostPosted: Thu Aug 04, 2005 9:35 am
Reply with quote

Hi All,

Could any one tell me , wht is the meaning and where we will use the card \* CNTL in our JCL. I have the JCL as follows,

Code:

/*CNTL SFD100,EXC
//STEP1 EXEC UCC11RMS
//STEP2 EXEC SFD151
//STEP3 EXEC UCC11ODS


thx,
Suresh.
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Thu Aug 04, 2005 11:01 am
Reply with quote

We Use the CNTL parameter to reference a CNTL statement that appears earlier in the job. The reference causes the subsystem to execute the program control statements within the referenced CNTL/ENDCNTL group.
The system searches for an earlier CNTL statement with a label that matches the label in the CNTL parameter. If the system finds no match, the system issues an error message.


So if we look your code it will leap to the step
"SFD100"


If you need more help look MVS JCL REFERENCE
Back to top
View user's profile Send private message
mvscontactme

New User


Joined: 20 Jun 2005
Posts: 3
Location: Bangalore,india.

PostPosted: Thu Aug 04, 2005 4:20 pm
Reply with quote

Thank you ravi, for ur response.

but , that SFD100 is a proc and not a step and more over , wht ever you have given will be done by some other syntax //CNTL , But my card is /*CNTL . So, I just want to know the difference....
Back to top
View user's profile Send private message
pavithran

New User


Joined: 24 Nov 2006
Posts: 1
Location: Coimbatore

PostPosted: Thu Mar 22, 2007 12:03 pm
Reply with quote

What is the expansion or abbreviation for CNTL. Also can you tell about CNTL and where we use CNTL.
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: Thu Mar 22, 2007 9:16 pm
Reply with quote

Hello,

On this system, you get:
Code:
/*CNTL SDF100.EXC                                     
************************ INVALID /* CONTROL STATEMENT
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Mar 22, 2007 11:19 pm
Reply with quote

I'll bet its used by either CA-11 or the scheduling system.
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Need suggestion on a sort card DFSORT/ICETOOL 10
No new posts Want to mask Middle 8 Digits of Debit... COBOL Programming 3
No new posts JCL sort card for file creation condi... DFSORT/ICETOOL 4
Search our Forums:

Back to Top