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

Comment in 1st line of JCL


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

PostPosted: Mon Feb 27, 2006 11:37 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
No new posts Repeat a DD line- comment and insert ... CA Products 3
Search our Forums:

Back to Top