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

Which situation we can use inline perform instead of perform


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

New User


Joined: 27 Aug 2006
Posts: 5

PostPosted: Sun Oct 01, 2006 4:27 pm
Reply with quote

1)job1 job2
prg1 prg2
file1 file2

if i submit job1,i want to execute job1 and job2
2)In job card we specify class=A TO Z OR 0 TO 9.What is the meaning of A to Z and 0 to 9.In real time which one can use?

3)Suppose we pass the parm value,We declare in cobol pgm
like
05 parm
06 parmlength pic s9(4) comp
06 parmval pic x(10).
Why we use parmlength s9(4) comp.
4)how to rectify soc7 error in real time?specify the ways from the begining in realtime?
5)which situation we can use inline perform instead of perform
6)when -911 sql error code (dont say time out r deadlock).i want real time when dead lock occur.how can we solve it.
7)What r the primary setup files needed if we use xpeditor
8)how to solve soc 7 error
9) how to solve -922 error
Back to top
View user's profile Send private message
cooolguy

New User


Joined: 05 Sep 2006
Posts: 9

PostPosted: Wed Oct 04, 2006 6:55 pm
Reply with quote

1. Question not clear
2.CLASS is installation dependent
3. parmlength will have the length of the parm field you are passing
4. S0c7 data exception. Form the job o/p find the address go to the compile listing find out the statement that causing the error. Mostly it will be comp field and non-numeric will be passed to the comp field.
5.When you want to do a looping for until 'n' times

perform varying 1 by 1...

End-perform
6.Timeout or Deadlock. First identify whether it is a deadlock or timeout by looking into the SQLEERD(3). If itis deadlock go to the DB2 comands and find out the lock thats holding.
if it timeout look into the query and possibly it may need to split or tuned.
9. -922 Authorization error
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Oct 05, 2006 11:35 am
Reply with quote

Hi There,

Attached document will be useful to rectify SOC7
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Thu Oct 05, 2006 1:52 pm
Reply with quote

hi

if its just to get the job2 also submitted when u submit job1, then u can use the internal reader concept for that...
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 Use of Perform Thru Exit COBOL Programming 6
No new posts Need help on DB2 compound SQL or Inli... DB2 3
No new posts in-stream data set (inline data set) ... JCL & VSAM 4
No new posts Unique sort situation.... SYNCSORT 6
No new posts How to perform Digest Access Authenti... All Other Mainframe Topics 0
Search our Forums:

Back to Top