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

Can we execute a JCL,giving JOB card info in EXEC statement


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

New User


Joined: 29 Oct 2009
Posts: 5
Location: Mumbai

PostPosted: Fri Feb 25, 2011 3:27 am
Reply with quote

Can anybody suggest whether we can run a JCL by coding JOB card parameter in EXEC statement ?

Thanks
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: Fri Feb 25, 2011 3:32 am
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals". You need to spend time in the Language Reference for your environment.

As posted, the question makes no sense. . . The JOB and EXEC statements are completely different . . . icon_confused.gif
Back to top
View user's profile Send private message
subhasis4u

New User


Joined: 29 Oct 2009
Posts: 5
Location: Mumbai

PostPosted: Fri Feb 25, 2011 3:43 am
Reply with quote

Hi D,

I know the difference.... actually my doubt is

// JOBNAME

// STEPNAME EXEC .........

By simply putting jobname in the JOB card, if I execute does it works. And I won't give any ACCT info or Notify statement


Thanks
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: Fri Feb 25, 2011 4:03 am
Reply with quote

Hello,

You need to talk with your site support people about what are the rules for the content of a JOB statement on your system. Unless someone here works on that system, we have no idea about the rules for that system.

As i mentioned before - read the manual and you can see what the options are (but this will not tell you the local rules).
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 01, 2011 9:07 pm
Reply with quote

subhasis4u wrote:
By simply putting jobname in the JOB card, if I execute does it works. And I won't give any ACCT info or Notify statement
Try it.

PS. Consequences are all yours.
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Fetch data from programs execute (dat... DB2 3
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
Search our Forums:

Back to Top