Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
If i give conditon code in 1st step what will happens

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: If i give conditon code in 1st step what will happens
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    Post subject:
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: 215
Location: India

PostPosted: Fri Sep 01, 2006 4:29 pm    Post subject: Re: If i give conditon code in 1st step what will happens
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us