MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with self study JCL questions - Any help appreciated!

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vanight
Beginner


Joined: 15 Jul 2003
Posts: 4
Topics: 3

PostPosted: Tue Jul 15, 2003 6:09 pm    Post subject: Help with self study JCL questions - Any help appreciated! Reply with quote

Hello. I am new to this forum and new to JCL. If anyone can help me with these self study questions I found, that would be great! Also, any links to free tutors or CBTs for COBOl/JCL/VSAM ect.. would be helpful. I dont have money to spend on a bunch of books so trying to find free resources.

Thanks for any help!! Here are the questions:

1. You have a flat (sequential) file that needs to be used to load a VSAM file that has an Alternate index. With JCL how would you do this?

2. In a job you have 10 steps. You want to process steps 1-6 and steps 9 and 10, based on the return code from step 6 How would you achieve this?
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Thu Jul 17, 2003 1:11 am    Post subject: Reply with quote

To 1:
You could use IDCAMS Repro to load the dataset, then define and build the alternate index. You should always load the dataset first and then build the alternate index - the fastest way.
Back to top
View user's profile Send private message Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Thu Jul 17, 2003 2:21 am    Post subject: Reply with quote

To 2:
Code:

//TESTCON  IF ((STEP6.RC >= 8 AND STEP6.RC <= 12) OR
//                     (STEP6.RC=4)) THEN
//STEP7 ...
.
.
.
//STEP8 ...
.
.
.
//               ELSE
//STEP9 ...
.
.
.
//STEP10 ...
.
.
.
//               ENDIF
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group