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 

Interview questions

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
badri5
Banned


Joined: 27 Jun 2006
Posts: 18
Topics: 16

PostPosted: Tue Feb 16, 2010 1:48 am    Post subject: Interview questions Reply with quote

Hi,
I have a few interview questions.
1) In the input file i have a fixed record length of 80 bytes.But in the output file i should have like First record should be 80 bytes second record should be 75 bytes.Third record should be 70 bytes.how will i do that
2)Which one processes fast in cobol.Through table or through sort
3) In the Production jcl the job got abended.I want to replace with a test file and run the production jcl.how will i do that
4)Is there any utility available to find the constraints in a db2 table
5)There are three jobs namely A,B & C. B is dependent on A and A triggers C.In what sequence the jobs will run
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Feb 16, 2010 11:39 am    Post subject: Reply with quote

1. Unless you are creating a VB file , the length of all records in a FB are of same length. For a VB file move the length you want into the 1st bytes of RDW.

2. Depends on how the table is defined and sorting algorithm you use.

3. JCL DD override as long as the pvt dataset is also on the same LPAR

4. Query the catalog tables

5. After the completion of A, both B and C run in parallel.


Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A 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