IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shivanag

New User


Joined: 22 Feb 2005
Posts: 1
Location: banglore

PostPosted: Tue Feb 22, 2005 12:22 pm
Reply with quote

how to know the other persons job status?
2. how to pass return codes from cobol to jcl?
3. how to repair the table?
4.how to see the status of the table?
5. how to load the data to a table?
6. how to increase the table space in db2?
7.if i inserted a new column to the existing databese then what will happen to the original database size?
8 how to read a vsam file?
9 i have 1000 records in vasm , i want to read records 500 to 900? how can i read?
10what is severity one error in production support?
Quote:
Back to top
View user's profile Send private message
himanshu

New User


Joined: 21 Feb 2005
Posts: 2
Location: Mumbai/Pune

PostPosted: Tue Feb 22, 2005 8:17 pm
Reply with quote

1.how to know the other persons job status?
A. i dont know what u r saying here, but u can use the PREFIX <userid> here to check the other persons spool icon_eek.gif

2. how to pass return codes from cobol to jcl?
A. there is a system register called RETURN-CODE. put ur RC in this reg. do not declare a variable by this name in ur prog. icon_lol.gif

3. how to repair the table?
A. no idea boss icon_rolleyes.gif

4.how to see the status of the table?
A. sorry icon_rolleyes.gif

5. how to load the data to a table?
A. hmmm...sorry m8 cant remember at this point. icon_confused.gif

6. how to increase the table space in db2?
A. sorry icon_cry.gif

7.if i inserted a new column to the existing databese then what will happen to the original database size?
A. will increase? i dont know, gussed... icon_eek.gif

8 how to read a vsam file?
A. use open, read, readnext, read prev, etc. start to start with a position, etc icon_arrow.gif

9 i have 1000 records in vasm , i want to read records 500 to 900? how can i read?
a. u can give skip and count option in repro. icon_idea.gif

10what is severity one error in production support?
A. sorry icon_confused.gif [/i]
Back to top
View user's profile Send private message
Rajshekhar V Patil

New User


Joined: 23 Feb 2005
Posts: 7
Location: Mumbai

PostPosted: Tue Mar 01, 2005 2:44 pm
Reply with quote

2. how to pass return codes from cobol to jcl?
A. move return code to jcl.
3. how to repair the table?
A.
4.how to see the status of the table?
A. SYSIBM.SYSTABLES WHERE one of the columns is STATUS.
In STATUS 3 types.
S--
X--
P--
5. how to load the data to a table?
A. DSNUPROC OR IKJEFT01 using this IBM supplied ulility program.
6. how to increase the table space in db2?
A. In Alter command
You can add the volume series & Buffer spaces


Rajshekhar V Patil
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Mar 02, 2005 10:37 am
Reply with quote

Hi ShivaNag,

You could have posted your query as a new topic instead of continuing with another topic.


Quote:
how to know the other persons job status?


Type S;init in the start menu to know the status (provided you have SDSF-Spool Display Search Facility)

For other questions hope you got cleared:-)
Back to top
View user's profile Send private message
sunnyk

New User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Wed Mar 02, 2005 3:40 pm
Reply with quote

Hi ,
To know others persons job status u need to give the following command:
pre *;owner *******.............where ***** means id of the person whose job status u want to see.

And miss anuradha i have SDSF on my mainframe but no such command like s;init exists.Can u clarify.

Thanks
sunny
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Mar 02, 2005 5:51 pm
Reply with quote

Hi Sunny,

If you have SDSF just type S in the command prompt,it wil show you all the options it has in SDSF. There is SDSF panel, the following are the options right:

Code:
DA    Active users                      INIT  Initiators     
I     Input queue                         PR    Printers       
O     Output queue                      PUN   Punches         
H     Held output queue                LINE  Lines           
ST    Status of jobs                                         
                                                             
LOG   System log                                             
JC    Job classes                                             
RES   WLM resources                                           
                                                             
END   Exit SDSF           


Here INIT shows all the initiators, like what are all the jobs running currently and on which Job Classes, currently which step it is running etc etc details.......

Hope it is cleared :-)
Back to top
View user's profile Send private message
sunnyk

New User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Wed Mar 02, 2005 6:24 pm
Reply with quote

Hi anuradha,
Thanx for the update but i guess this feature is in newer versions of SDSF b`coz i have only following functions in SDSF:

COMMAND INPUT ===>

DA Active users
I Input queue
O Output queue
H Held output queue
ST Status of jobs

LOG System log

END Exit SDSF

And i forgot to mention that command (pre *;owner *******) should be typed after entering S.ST on the command prompt.Feel sorry for that.

Well many of us are using the older versions of SDSF,right board.

Thanks
sunny
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top