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
 

 

Comment in 1st line of JCL

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

New User


Joined: 30 Mar 2005
Posts: 4
Location: Kolkata

PostPosted: Mon Feb 27, 2006 10:39 am    Post subject: Comment in 1st line of JCL
Reply with quote

What will happen if i will code a comment in the 1st line of the JCL and the job statement in the 2nd line???

Suppose this JCL runs program PGM001.

//RUNJCL JOB 'IBMMFS','MAC',CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC PGM=PGM001
//STEPLIB DD DISP=SHR,DSN=IBMMFS.MACC.LOAD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
70
/*

SO, what will happen if i will code it like follows

//* This JCL runs program PGM001.
//RUNJCL JOB 'IBMMFS','MAC',CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC PGM=PGM001
//STEPLIB DD DISP=SHR,DSN=IBMMFS.MACC.LOAD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
70
/*
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Feb 27, 2006 11:37 am    Post subject:
Reply with quote

You'll get a prompt to enter jobname (message IKJ56700A).

O.
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Mon Feb 27, 2006 5:02 pm    Post subject:
Reply with quote

First you will be get the following prompt

IKJ56700A ENTER JOBNAME CHARACTER(S) -


After you enter some character, two jobs will be submitted. One will be your job after the comment line and the second job will abend because it will have only job card with out any step.
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 Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts ISREDIT - Position Cursor on the Comm... Tarique Anwer TSO/ISPF 5 Wed Feb 03, 2016 12:44 pm
No new posts Use Edit Line Command Table with ISPF... Mickeydusaor TSO/ISPF 5 Thu Jan 28, 2016 4:52 pm
No new posts ISPF 3.4, SF line command does not su... Pedro TSO/ISPF 0 Fri Jan 15, 2016 11:09 pm
No new posts Can someone explain me this JCL line ... PeterHolland JCL & VSAM 9 Sat Dec 12, 2015 7:22 am


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