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

If i give conditon code in 1st step what will happens


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

New User


Joined: 19 Jul 2006
Posts: 8

PostPosted: Wed Aug 23, 2006 5:53 pm
Reply with quote

If i give conditon code in 1st step what will happens.i have only 1step in job
Back to top
View user's profile Send private message
punith007
Warnings : 1

New User


Joined: 16 May 2006
Posts: 11
Location: INDIA

PostPosted: Wed Aug 23, 2006 6:07 pm
Reply with quote

Malli,

At any rate the step 1 will execute.


Regds
Punith
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Fri Sep 01, 2006 4:29 pm
Reply with quote

jmalli wrote:
If i give conditon code in 1st step what will happens.i have only 1step in job



Hi Malli,

if u code the concode instep01 i mean the first step i will be ignored.
it means it will execute all the time irrespective of the cond u have specfied
Back to top
View user's profile Send private message
sushil_ach

New User


Joined: 01 May 2006
Posts: 6

PostPosted: Fri Sep 01, 2006 5:56 pm
Reply with quote

hi malli,
I agree with punith....
at any circumstances the 1st step will execute irrespective of the
condition......
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Mon Sep 04, 2006 2:06 am
Reply with quote

sushil_ach wrote:
hi malli,
I agree with punith....
at any circumstances the 1st step will execute irrespective of the
condition......


true, if you use a COND statement. an "IF" RC cond. is set to zero, before the first step executes. so an IF condition may flush the 1st step.
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Sep 06, 2006 5:36 pm
Reply with quote

Hi, As per my understanding while executing the First Step, System assumes that the previous step executes successfully(though no steps are there), and based on that the first step WILL EXECUTE.

You can also try giving ONLY with COND parameter coded in Step1. So that you came to know about it.

If you coldn't understand don't hesitate to reach out me.


Thanks!
Rathna.




parsesource wrote:
sushil_ach wrote:
hi malli,
I agree with punith....
at any circumstances the 1st step will execute irrespective of the
condition......


true, if you use a COND statement. an "IF" RC cond. is set to zero, before the first step executes. so an IF condition may flush the 1st step.
Back to top
View user's profile Send private message
salehi

New User


Joined: 30 Sep 2006
Posts: 14
Location: Iran

PostPosted: Thu Oct 05, 2006 12:46 pm
Reply with quote

it simply will be ignored anyway.
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top