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
 
What will be other DISP parameters if first parm is SHR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
atulrukmangad

New User


Joined: 10 Apr 2006
Posts: 13

PostPosted: Mon May 01, 2006 12:02 pm    Post subject: What will be other DISP parameters if first parm is SHR
Reply with quote

1) There is Job with 4 steps. Step 3 has COND parameters for Step 2 and Step 4 has COND parameters for Step 3.
If Step 2 returns an RC such that Step 3 does not execute what will happen to Step 4.

2) What will be other DISP parameters if the first parameter is SHR

3) In NATURAL what will be the result of following statement and why.

READ(10) EMPLOY-VIEW WITH EMPLOY-ID = '3'
ACCEPT IF EMPLOY-ID = '3'
REJECT IF EMPLOY-ID = '3'
WRITE EMPLOY-ID
END-READ

4) How will you skip a step in a JCL without using COND parameters.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue May 02, 2006 3:18 pm    Post subject: Re: What will be other DISP parameters if first parm is SHR
Reply with quote

Quote:
1) There is Job with 4 steps. Step 3 has COND parameters for Step 2 and Step 4 has COND parameters for Step 3.
If Step 2 returns an RC such that Step 3 does not execute what will happen to Step 4.

STEP4 wouldn't be executed.

Quote:
2) What will be other DISP parameters if the first parameter is SHR

Should be KEEP, KEEP... Until you specify soemthing exclusively...

Quote:
4) How will you skip a step in a JCL without using COND parameters.

Using IF-THEN structure.

Regards,
Priyesh.
Back to top
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Tue May 02, 2006 7:40 pm    Post subject: regarding step4
Reply with quote

acoording to ur first question i.e There is Job with 4 steps. Step 3 has COND parameters for Step 2 and Step 4 has COND parameters for Step 3.
If Step 2 returns an RC such that Step 3 does not execute what will happen to Step 4.
ans:
.........step 4 will also not be executed and RC of the step2 remains same.
if i'm wrong pls correct me.
regards
jayanta kr. mondal
Hyderabad
Back to top
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Tue May 02, 2006 7:44 pm    Post subject: IF-THEN struct in JCL
Reply with quote

hi priyesh,
can we use IF-THEN structure in JCL.if yes pls give me the code.
regards
jayanta kr. mondal
Hyderabad
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue May 02, 2006 7:52 pm    Post subject: Re: What will be other DISP parameters if first parm is SHR
Reply with quote

jayanta ,

Yes, you can use IF-THEN structure in JCL. check this related post discussed earlier for the same...

Also check out the manuals for complete info...

Regards,
Priyesh.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Duplicate PARM on OUTFIL sancraig16 SYNCSORT 11 Thu Apr 05, 2018 10:25 pm
No new posts IPCONFIG SEGMENTATIONOFFLOAD parm in ... Keith Hays TSO/ISPF 0 Wed Jan 03, 2018 11:42 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm

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