Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

When u submit cobol-db2 where u will see the TIMESTAMP

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

New User


Joined: 10 May 2007
Posts: 3
Location: balngalore

PostPosted: Wed May 30, 2007 7:03 pm    Post subject: When u submit cobol-db2 where u will see the TIMESTAMP
Reply with quote

Hai,
I'm a fresher.These r the questions i faced in the interview.SO pls answer me for these questions.

1) THERE ARE 5 JOB STEPS IN A JCL.i WANT TO EXECUTE ONLY THE 3RD STEP.HOW IS IT possible?

2) Can2 job cards present in a jcl? If not why? When executed what will be the resule?

3) What is the max lenth of the Parm value in jcl? How will u pass a value with 1000 length from jcl to cobol?

4) WHen a same cobol-db2 program is executed for 5 times how many DBRM will be created?

5) When u submit cobol-db2 where u will see the TIMESTAMP ?

6) When u open DBRM what will the internal structure of it?

7) S9(4)v99 comp Is it correct or not/ if not ,why?
X (4)
S9(8) comp
S9(4)v99 comp-3 what will be the total bytes?

8) Ther is nullable column.It doesn't have any data. Select max(nullable col) What will be the result?
Back to top
View user's profile Send private message

Nithya-Sankar
Currently Banned

New User


Joined: 10 May 2007
Posts: 3
Location: balngalore

PostPosted: Wed May 30, 2007 7:07 pm    Post subject:
Reply with quote

Hai,


1) Without referring the jcl how would u find the plan name for the program?

2) Cobol code to accept the parm values in jcl?

3)Where do u give the start and end in cobol prog?
Back to top
View user's profile Send private message
Nithya-Sankar
Currently Banned

New User


Joined: 10 May 2007
Posts: 3
Location: balngalore

PostPosted: Wed May 30, 2007 7:22 pm    Post subject: Interview Questions?
Reply with quote

Hai,
I'm a fresher.These r the questions i faced in the interview.SO pls answer me for these questions.


1) WHen a same cobol-db2 program is executed for 5 times how many DBRM will be created?

2) When u submit cobol-db2 where u will see the TIMESTAMP ?


3)S9(4)v99 comp Is it correct or not/ if not ,why?
X (4)
S9(8) comp
S9(4)v99 comp-3 what will be the total bytes?
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Wed May 30, 2007 7:40 pm    Post subject:
Reply with quote

2) When u submit cobol-db2 where u will see the TIMESTAMP ?

In footprints, you can see everything...

3) S9(4)v99 comp Is it correct or not/ if not ,why?

No, COMP is only for binary representation. COMP-3 is for packed decimal.

COMP should contain only S and 9 in the PIC clause.

4) X (4) - 4 BYTES
S9(8) comp - 4 BYTES
S9(4)v99 comp-3 - 4 BYTES
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Wed May 30, 2007 7:44 pm    Post subject:
Reply with quote

1) THERE ARE 5 JOB STEPS IN A JCL.i WANT TO EXECUTE ONLY THE 3RD STEP.HOW IS IT possible?

use restart parameter, for example, RESTART= STEP03
and put a null statement after the 3rd step.

1) Without referring the jcl how would u find the plan name for the program?

from footprints, you can get everything.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu May 31, 2007 12:41 am    Post subject: Re: Interview Questions
Reply with quote

While we can answer those questions - we need to know your goals to be
able to "help you out".

Are you creating questions to find out whether prospective employees
are competent?

Are you trying to fool employers into thinking you are competent? (If
so, can you come up with a reason that we could morally agree to
assist you)? Or at least so that we can do so without hurting our
industry?
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Thu May 31, 2007 1:21 pm    Post subject: Re: Interview Questions
Reply with quote

Superk is right......but still i am sharing what i know.....


1.Run the step below and include the steps that u wanna run
//userIE JOB (TD),'FUND CODE',
// CLASS=P,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=Your dataset that contain the JCL,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP1,STEP2)

/*

2.255 Job cards in one JCL can be run
3.100 bytes.... else use sysin
4.only one ... it will get updated all the time
5.Load module and DBRM
6.all sql call statements
7.
8.No value will be returned ... i think aggregate funcions will avoid null values.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 31, 2007 1:25 pm    Post subject:
Reply with quote

Quote:
EDIT TYPE=INCLUDE,STEPNAME=(STEP1,STEP2)

Methinks perhaps you meant

EDIT TYPE=INCLUDE,STEPNAME=(STEP3)
Back to top
View user's profile Send private message
kzkrishnamoorthy

New User


Joined: 23 May 2007
Posts: 1
Location: chennai

PostPosted: Fri Jun 01, 2007 5:01 pm    Post subject: Re: When u submit cobol-db2 where u will see the TIMESTAMP
Reply with quote

If u want to execute only 3sr statement code Restart=step3 code cond=(0,Le) in job step so that irrespective of cond step 3 will be executed and no other steps will be run because o will be always greater than or equal to any condition code.
Back to top
View user's profile Send private message
srebba
Warnings : 1

New User


Joined: 26 Apr 2007
Posts: 37
Location: USA

PostPosted: Fri Jun 01, 2007 8:57 pm    Post subject: Re: When u submit cobol-db2 where u will see the TIMESTAMP
Reply with quote

Could u please let me know the what is Footprint.
Where we can see and what information

Thank you
Sree
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us