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
 

 

intersting questions

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

New User


Joined: 28 May 2005
Posts: 2
Location: chennai

PostPosted: Sat May 28, 2005 10:10 pm    Post subject: intersting questions
Reply with quote

Hi
I got a few intresting questions in recent inter view

A cobol program is given like this

---
----
section1
para-int
perform para-a
perform para-b
perform para-c
perform para-d
stop run.


para-a
statement-1
statement-2 goto para b. (observe care fully)
statement-3
stament -4
para-b
statement-1
statement-2
statement-3
stament -4
para-c
statement-1
statement-2
statement-3
stament -4.

trace the execution ,will any error will occur

q2)what is the maximum size of a record can be

q3)is the call in precompile is a static or dynamic?(IN precompilaton sql statemnts are replaced by call staments)

q4)maximum length an alternate index for a record can be

few more question are are there but in next posting..
Back to top
View user's profile Send private message

narasimha_devi
Warnings : 1

New User


Joined: 10 Mar 2005
Posts: 26

PostPosted: Sun May 29, 2005 10:27 am    Post subject: Re: intersting questions
Reply with quote

these are the answers i have

no error

80 chars

dynamic call
Back to top
View user's profile Send private message
syams

New User


Joined: 28 May 2005
Posts: 2
Location: chennai

PostPosted: Sun May 29, 2005 7:36 pm    Post subject: Re: intersting questions
Reply with quote

narasimha_devi wrote:
these are the answers i have

no error

80 chars

dynamic call



hi narasimha i think ur ansewrs are not so correct ,because record length can definitely more than 80 bytes ,the call may be static as it is called before compilation.
regards
syam
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon May 30, 2005 8:52 am    Post subject:
Reply with quote

Hi Syam,

Here?s another try:

Q1 ?perform para-d.? will cause a compiler error. para-d wasn?t defined.
?goto para b.? if not a typo, will cause a compiler error - s/b ?go to para-b.? And, of course, stmts 3&4 will never execute. Not necessarily an error, but unusual.

Q2 max rec len is 32K. The new LBI option allows very large blksizes for tape d/s. Only available for Assembler pgms.

Q3 Check the pre-compiler listing. If it shows ?CALL dataname? it?s a DYNAM call; if it shows ?CALL ?literal?? you have to check the compiler option (it could be either). Haven?t looked, but I?d guess they?re DYNAM calls.

Q4 Up to 255 bytes, but alt key len + offset can?t be GT base cluster?s data len.
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 Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
No new posts File Aid DB2 Questions niks_jude Mainframe Interview Questions 1 Mon Aug 24, 2015 5:13 pm


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