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
 

 

Mainframe Interview Questions

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

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Tue Jun 21, 2005 8:09 am    Post subject: Mainframe Interview Questions
Reply with quote

hi friends,

some int ?'s r below,plase as me.

1.In Job i have 50 steps, the GDG dataset is creating in 1st step, the same GDG is brefer in 25th step. I got abend in 24th step. Is it possible to
restart from 25th step. If possible what are the changes we have to do.

2.When mapfail codition will occur

3.If deadlock occurs in u'r program, how come u know which program or
user trying to access the same resources which is requested by u.

4.How to see recently executed jobs information


5.I want to see the jobs which are executed by other user. Where will
get those information.

6.what will u do to edit a COMP-3 value in a file


7.In a file 50 records are there, i want the records from 50th byte to
80th byte. How can i get it.

8. In Cobol, the end user will enter lowercase letters in the screen
how will u covert it to uppercase.

9.What is the difference between copybook and Include

bye
Back to top
View user's profile Send private message

shannu

New User


Joined: 01 Jun 2005
Posts: 17
Location: bangalore

PostPosted: Tue Jun 21, 2005 2:15 pm    Post subject:
Reply with quote

Hi,

I will be giving answers for some of question if any thing wrong please correct me
thanks
Sgannu.

.In Job i have 50 steps, the GDG dataset is creating in 1st step, the same GDG is brefer in 25th step. I got abend in 24th step. Is it possible to
restart from 25th step. If possible what are the changes we have to do.


You can restart from the 25th stem by coding restart=25th stepname in the job card.

2.When mapfail codition will occur

mapfail will occur when u recieve a map with no values i.e all the fields in that map are blanks.

3.If deadlock occurs in u'r program, how come u know which program or
user trying to access the same resources which is requested by u.

I dontknow exactly if u come across dataset in use and press F1 key two times, then u will come to know the userid of the person who is using that dataset.

4.How to see recently executed jobs information

You can checkit out in the spool.


5.I want to see the jobs which are executed by other user. Where will
get those information.

6.what will u do to edit a COMP-3 value in a file

go to profile in ur file and make hex-on there.


7.In a file 50 records are there, i want the records from 50th byte to
80th byte. How can i get it.

You should handle it by logic just read the records from the 50th byte to 80 th byte and skip thje remaining fields.

8. In Cobol, the end user will enter lowercase letters in the screen
how will u covert it to uppercase.

I didnt get wat u mean by end user.

9.What is the difference between copybook and Include

copybook is expanded during compilation stage whereas include is expanded during pre compilation stage.

Let me know where u encountered these types of problems.

bye
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Jun 21, 2005 2:56 pm    Post subject:
Reply with quote

Let me correct you for the first question:
1) Use a temporary dataset or a simple dataset and cataloge your gdg at the end of your job. If you restart from 25th step you will have jcl error because if you use +1 in the previous step, after the restart the level will be the (0).

3) you must display the thread for your resource and capture the user/job that use it.

4) you can see the sysout in SDSF or in your product of archive as Beta 92 or WSF etc.

5) in SDSF use OWNER USERID and PREFIX 'job' or '*' to display all the queue of a particular USERID

7) you can do it with a sort with INREC or you can also use a IEBGENER or other tool.
Back to top
View user's profile Send private message
subbprem

New User


Joined: 20 Apr 2005
Posts: 9
Location: Chennai

PostPosted: Tue Jun 21, 2005 5:42 pm    Post subject:
Reply with quote

Difference between copybook and include.
------------------------------------------------------

INCLUDE MEMBERNAME is same as a COBOL COPY MEMBERNAME, but the timing is different.

COBOL COPYBOOKs get copied in at COMPILE time; DB2 INCLUDEs get copied in at precompile time.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jun 23, 2005 6:19 am    Post subject:
Reply with quote

If you intend to restart a job that uses a GDG it's customary to code the relative gen number as a symbolic (e.g. &GEN1). In the original run GEN1='(+1)'. On restart change it to GEN1='(+0)'.

In a lockout situation enter at the terminal CEMT INQ TASK. I think it returns the tasks and what they are enqued on. It's been awhile; you'll have to check.
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Tue Jul 05, 2005 5:54 pm    Post subject: Re: Mainframe Interview Questions
Reply with quote

8) IN COBOL YOU HAVE A FUNCTION
YOU R ACCEPTING THAT INTO ONE VARIABLE

FUNCTION UPPERCASE(DATEVARIBLE NAME)




IF ANY WRONG CORRECT ME
Back to top
View user's profile Send private message
bhaskar_157

New User


Joined: 27 Dec 2005
Posts: 3

PostPosted: Tue Dec 27, 2005 11:42 am    Post subject: Display of COMP-3 Values
Reply with quote

Hi i have attended the Wipro interview,There asking How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer.

Thanks,
Vijji
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Dec 27, 2005 7:29 pm    Post subject: Re: Mainframe Interview Questions
Reply with quote

HI Vijji,


Quote:
How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer.


Move the Comp-3 variable in Normal variable and display it.

Regards
Rupesh
Back to top
View user's profile Send private message
Nanda Krishna

New User


Joined: 30 Nov 2005
Posts: 19
Location: Bangalore

PostPosted: Thu Dec 29, 2005 5:06 pm    Post subject:
Reply with quote

3) you must display the thread for your resource and capture the user/job that use it.


MGIndaco/All,

can you explain how to display the thread.

Thanks in advance...
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 SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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