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

some interview questions regarding cics-db2


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srimsc_ibmmainframes

New User


Joined: 17 Feb 2004
Posts: 19
Location: pune

PostPosted: Tue Apr 19, 2005 7:40 pm
Reply with quote

plz answer the following questions which were asked in an interview

1.for each cics pgm the translator inserts some kind of data for internal houskeeping what's that data(i think DFHEIBLK N DFHCOMMAREA)

2. What is CURRENT DATA parm in BIND?

3. After changing the existing MAP which is already being used by some pgm what should b done?

4. 02 ws-field pic x(20)
move 'infile' to ws-field
------------
procedure division
open input ws-field

so here can we open the file successfully in input mode?

should we declare ws-field in FILE-CONTROL?

5. what info does the trailer contain?
a.end of run,count of records
b.high values
c.low values....

thanx in advance
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Wed Apr 20, 2005 12:55 pm
Reply with quote

Hi friend

here are some answers for ur queries

1.------------
Command Level Language Translator(Translator) produces 2 outputs the Translator Listing (SYSPRINT) and Temporary Dataset (SYSPUNCH).
SYSPUNCH is the input Dataset for the Compiler or Assembler.
DFHEIB copy book will be inserted into the Translated output automatically and EXEC CICS commands are commented, after the Comments, move Statement and some Calls for Command Interface Programs are inserted.

2.-----------------------------
Use this bind option to force block fetch for ambiguous queries
DB2 uses two different methods to reduce the number of messages that are sent across the network when fetching data with a cursor
publib.boulder.ibm.com/infocenter/dzichelp/index.jsp?topic=/com.ibm.db2.doc.apsg/bjnqmstr332.htm

3.-----------------------------
if we change the existing map ,we also need to change the corresponding application program & get the new copy using CEMT

4.-------------------------------
we get the error as u cannot pass the
file name through a variable
Syntax:
OPEN mode file-name

mostly filestatus 35
we need to declare the file "infile" in
file-control & also in filesection


Regards
siva
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top