ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> MainFrame >> IBM-MainFrame >> CICS
 
 


 

Back to Questions Page
 
Question
How to prevent user to access a screen directly from cics 
Native screen by using Trans Id?
Rank Answer Posted By  
 Question Submitted By :: Abhishek
This Interview Question Asked @   IBM
I also faced this Question!!   ALL Interview .com
Answer
When CICS security is active, requests to attach transactions, and requests by transactions to access resources, are associated with a user. 

When a user makes a request, CICS calls the external security manager to determine if the user has the authority to make the request. If the user does not have the correct authority, CICS denies the request.

There are two distinct areas from which exposures to the CICS system can arise. 

The first of these is from sources external to CICS. You can use RACF data set protection as the primary means of preventing unauthorized access, from either TSO users or batch jobs, to the assets CICS manages.

The other potential area of exposure arises from CICS users. CICS provides a variety of security and control mechanisms that can limit the activities of CICS users to only those functions that any particular individual user is authorized to use:

Transaction security - Ensures that users that attempt to run a transaction are entitled to do so

Resource security- Ensures that users who use CICS resources are entitled to do so

Command security - Ensures that users who use CICS system programming commands are entitled to do so
 
0
Guest
 
 
Answer
In the application program for the transaction we can use 
STARTCODE verification to prevent transaction started with 
terminal to through alert message when accessed from CICS 
native terminal.
 
0
Pinaki
 
 
Question
what is the option to be coded on 
return to associate a transaction 
identifier with next terminal.
Rank Answer Posted By  
 Question Submitted By :: Manish
This Interview Question Asked @   ibm
I also faced this Question!!   ALL Interview .com
Answer
EXEC CICS RETURN
          TRANSID('TRID') 
          COMMAREA(WS-AREA) 
          LENGTH(LNKG-LENGTH)
END-EXEC.      

Explanation: DFHCOMMAREA is to pass the data between the 
execution of the programs,here TRID is the transaction ID 
and the LNKG-LENGTH is a Full Word Binary Linkage Section 
variable,which receives the information supplied by RETURN  
and pass it on to the Next Program.
 
0
Srivalli Janapati
 
 
 
Question
What are the CICS tables? How to traverse from one screen
(program) to another on CICS?
Rank Answer Posted By  
 Question Submitted By :: Sangeethas1985
I also faced this Question!!   ALL Interview .com
Answer
In cics have different tables such that 

FCT(file control table)
PPT(program processing table)
PCT(program control table)
RCT(resource control table)
JCT(journel control table)
DCT(destination control table)
TCT(Terminal control table)
TST(temporary storage table)

Program to program transactions are diff types.

XCTL,LINK,AND COBOL CALL STATEMENT.

Hi frends let me know your comments about this answer.
 
0
Venkat
 
 
Question
Given below code, find the value of 'x'.

Perform s001-x thru s001-y.

s001-x.
add 1 to x
.
s001-1x.
-------
.
s001-y.
perform s001-1y 10 times
.
s001-1y.
perform s001-2y 10 times
.

s001-2y.
perform s001-x 10 times
.
Rank Answer Posted By  
 Question Submitted By :: Sangeethas1985
I also faced this Question!!   ALL Interview .com
Answer
My answer was 1001. I am not sure if it is correct. If 
anyody has an idea please let me know.
 
0
Sangeethas1985
 
 
Question
What are the types of performs in COBOL?
How does perform thru work, give example.
Rank Answer Posted By  
 Question Submitted By :: Sangeethas1985
I also faced this Question!!   ALL Interview .com
Answer
perform will be useful when you want to execute a set of statements in multiple places of the program. write all statements in one paragraph and invoke it using  perform wherever needed.

perform contain 7 types of statements.

* simple perform
* inline perform
* perform thru para
* perform untill para
* perform n.times para
* perform varying thru para
* perform para before/after para
 
0
Venkat
 
 
Answer
Perform thru
perform until
perform varying after option
perform within perform
perform varying with option
 
0
Deepak
 
 
Question
What is Tclass in cics?what is its importance? How it is
implemented?
Rank Answer Posted By  
 Question Submitted By :: Rehan
This Interview Question Asked @   IBM
I also faced this Question!!   ALL Interview .com
Answer
tclass means transaction class is a way to limit the number of similar transactions execute at the one time.


if it's wrong please correct it and let me ur comments on this.
 
0
Venkat
 
 
Answer
As per my knowledge:

TCLASS is CEMT INQUIRERY TCLASS(CEMT I TCL)

It describes or gives you the following information:
1. No of current and max no of tasks
2. Purged task
3. User dedined tasks
 
0
Rahul Joshi
 
 
Question
In a string " SEMINAR" .Replace "A" by 123. will this 
replacement will happen ot will it give error? If not , den 
what will be the output?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   HSBC
I also faced this Question!!   ALL Interview .com
Answer
If in the string " SEMINAR" "A" is replaced by 123 the
results would be " SEMIN{R" since the ascii for 123 is the
left curly brace.
 
0
Howa
 
 
Answer
we cant able to replace char by a numeric values....
 
0
Vijay
 
 
Answer
The output will be SEMIN123R . Its verified.
 
0
Molay Paul
 
 
Answer
INSPECT test-string REPLACING ALL 'A' BY '123'
 
0
Anonymous
 
 
Question
How do you unload data from DB2 tables into a PS file.write 
the code and how do you do it? what will be the syntax?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   HSBC
I also faced this Question!!   ALL Interview .com
Answer
we can use ADUUMAIN utility to unload data from table.
 
0
Uday Suthapalli
 
 
Answer
you can try with cobol db2.read the data from table and move to ps file file section variables then write to ps file,
 
0
Srini
 
 
Answer
Unload can be done using BMCUNLOAD
 
0
Anonymous
 
 
Question
I was asked in HSBC interview following questions: 

1. A string was given " techincal seminar on cobol language"
Interviewer asked me to calculate the number of vowels in 
this string.

Rank Answer Posted By  
 Question Submitted By :: Ecknisha
This Interview Question Asked @   HSBC
I also faced this Question!!   ALL Interview .com
Answer
Please help yourself to find the answer
 
0
Ecknisha
 
 
Answer
INSPECT strng-1 TALLYING strng-2 FOR ALL 'A','E','I','O','U'.
 
0
Sakthi
 
 
Answer
INSPECT strng-1 TALLYING count strng-2 FOR ALL 'A','E','I','O','U'.
 
0
Srini
 
 
Answer
here is an example for counting vowles in apple word..
apply the same code for your required string....
01 str pic a(5) value 'apple'. 
77 cnt pic 9(1) value 0.
01 i pic 9(1) value 1.
procedure division.
  perform varying i from 1 by 1 until i>5.
  if str(i:1)="A" or "a".......write all vowels.
  add+1 to cnt.
  display cnt.
 
0
Ameen
 
 
Answer
We can use the built in function: % SCAN .
We compare the text given with the vowel set.
Get the poitions and then get to know how manvy vowels are 
there.
 
0
Sridevi Mj
 
 
Question
Explain  page up and page down logic along with coding logic
in cics?
Rank Answer Posted By  
 Question Submitted By :: Venkat398
This Interview Question Asked @   Wipro
I also faced this Question!!   ALL Interview .com
Answer
We can use TDQ concept to do it...
 
0
Gubendhran
 
 
Answer
We can do it using TSQ.
 
0
Sweetu
[IGATE]
 
 
Question
Generally we check EIBALEN = 0 to decide whether first call 
or not.
If I do not pass any value in the COMMAREA then EIBCALEN 
will be 0 even on second call. Now how can we say the 
program is called for the first time or second time?
Rank Answer Posted By  
 Question Submitted By :: Kingmanish
This Interview Question Asked @   Accenture
I also faced this Question!!   ALL Interview .com
Answer
for the first time eibcalen is zero with this we can
conclude this is first call and for the second time if u
dont pass the value for commarea the by default dfhcommarea
has one byte of memory with this we can say this is second call.
 
0
Praveen
 
 
Answer
@Praveen

I don't agree with you here.
Are you sure by default the DFHCOMMAREA length is 1 on 
second call?

Please check I don't think it is the case.
 
0
Kingmanish
 
 
Answer
dfhcommarea length is 1 by default.if you are returning a
trans-id by passing some data in commarea then the length
will be calculated depending on the data which we passed.
if you are not passing any data then i think eibcalen value
will be 1 so it enters into the next para
 
0
Sandeep
 
 
 
Back to Questions Page
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com