vamsi


{ City }
< Country > india
* Profession *
User No # 54010
Total Questions Posted # 0
Total Answers Posted # 15

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 105
Users Marked my Answers as Wrong # 27
Questions / { vamsi }
Questions Answers Category Views Company eMail




Answers / { vamsi }

Question { 9786 }

What are the different data types available in COBOL?


Answer

NUMERIC------ 9
ALPHABETIC--- A
ALPHANUMERIC-- X

Is This Answer Correct ?    4 Yes 0 No

Question { IBM, 9101 }

What is the difference between a physical BMS mapset and a
logical BMS mapset?


Answer

physical map:
-------------
BMS macros are assembled separately and link edited into the CICS load library.

symbolic map:
--------------
Symbolic map is included in the program by issuing a COBOL COPY statement.

Is This Answer Correct ?    0 Yes 0 No


Question { IBM, 6383 }

Which option of the PCT entry is used to specify the PF key
to be pressed for initiating a transaction?


Answer

it is identified by DFHPF. It is exist in EIBAID.

Is This Answer Correct ?    0 Yes 1 No

Question { IBM, 4706 }

What are the three ways available for a program to position
the cursor on the screen?


Answer

1.static position
General decleration
ex: attrb=(num,ic,unprot)
2.Dynamic position
These are 2 types
1.symbolic position
By moving -1 to the required field then place cursor in
that field.
2.relative position
we can directly specify the required position.
i.e cursor(position value)
ex:cursor(245)

Is This Answer Correct ?    1 Yes 0 No

Question { 6724 }

A mapset consists of three maps and 10 fields on each map .
How many of the following will be needed ?


Answer

sol is two types.
first:
------
if u define all fileds in one map. It is like this
DFHMSD---mapset name
DFHMDI---map name
DFHMDF--- declare 30 fileds here

Second:
-------
if u define 10 fileds for each map.It is like this
DFHMSD---mapset name
DFHMDI---map name
DFHMDF-- declare 10 fields here

NOTE:repeat this procedure for 3 maps.

Is This Answer Correct ?    0 Yes 0 No

Question { IBM, 8366 }

What does ?Pseudo Conversational? mean?


Answer

Non conversation seen to be a conversion.
i.e for user it appears to be in conversation but it does not exit. control returns to trans id and comm area.
when ever u perform action then again transaction execution started.

Is This Answer Correct ?    0 Yes 0 No

Question { 8198 }

What is the effect of including the TRANSID in the EXEC
CICS RETURN command?


Answer

WHEN TRANSID CALL THEN CONTROL IS TRANSFER TO CICS PROGRAM
AND RELAESE ALL THE RESOURCES WHEN U GIVE INPUT OR PRESS ANY
PF KEYS THEN AGAIN PROGRAM IS INITIATE AND STARTS EXECUTION.

Is This Answer Correct ?    5 Yes 0 No

Question { 25924 }

Can you code instream data in a PROC ?


Answer

No.We can't pass instrean data in a proc.
But in catalogue proc we pass instream data by using ps files.

Is This Answer Correct ?    3 Yes 1 No

Question { 15178 }

Determine the total no of bytes in the following.

01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.


Answer

first u r syntax is wrong.
6
6
6
6
30
18
---
72

Is This Answer Correct ?    0 Yes 0 No

Question { 17912 }

Can a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.

03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.

03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?



Answer

REDEFINES IS NOT USED IN OCCURS CLAUSE.

Is This Answer Correct ?    0 Yes 2 No

Question { CTS, 14677 }

Can you define multiple maps in a BMS mapset?


Answer

Yes.We can define many no of maps in a mapset.There is no limitation.But in real time we use only one map at a time.

Is This Answer Correct ?    1 Yes 2 No

Question { Cap Gemini, 19599 }

How do you fetch current date in normal cobol pgm and in
cobol-db2 pgm?


Answer

Mr sharath small suggestion.
u r logic is correct.
but use current date instead of date in normal program.

Is This Answer Correct ?    3 Yes 1 No

Question { HSBC, 32645 }

01 xxx pic 9(4).
01 yyy pic 9(6).

move 123456 into yyy.
move yyy to xxx.

display yyy.

what would be the value of yyy


Answer

OUTPUT:
----------
3456

Is This Answer Correct ?    9 Yes 15 No

Question { HSBC, 32645 }

01 xxx pic 9(4).
01 yyy pic 9(6).

move 123456 into yyy.
move yyy to xxx.

display yyy.

what would be the value of yyy


Answer

YYY VALUE NOT CHANGE.
ie 123456

Is This Answer Correct ?    29 Yes 1 No

Question { Patni, 29165 }

Whats error code s222?


Answer

S222 means job was cancelled by a user or operator

Is This Answer Correct ?    50 Yes 4 No