GeekInterview.com
Series: Subject: Topic:

CICS Interview Questions

Showing Questions 1 - 20 of 24 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Cics s322 abend

Asked By: Markus66 | Asked On: Oct 23rd, 2011

Why would a cics region abend on a s322. It happened twice in 2 days in different cics subsystems. Any view out there

Answered by: giri on: Nov 19th, 2012

timeout error

What is a readq ts?

Asked By: Hman11 | Asked On: Nov 3rd, 2011

Explain about the real time usage and situation where it helps

Answered by: Anupama on: Oct 3rd, 2012

This is CICS command used to read temporary storage queues

How to solve soc 7 error.?

Asked By: vardhan.frd | Asked On: Jan 7th, 2012

Non numeric data transfer to numeric causes soc 7.But I want with reference to .....Xref,line number,..

Answered by: Lokesh M on: Feb 18th, 2012

You can make use of Tool Expeditor to get the SOC7 Abbend corrected. S0C7 error is caused due to data exception or bad record because of wrong data in the program. Find out the offset value in joblog. Mapping that offset value to the lines of codes where error occurred. Get it corrected.

Deleting records with file aid or ceci

Asked By: Hman11 | Asked On: Nov 3rd, 2011

I want to delete a record from a file in cics while the region is still up and running. Can you do it with file aid and/or ceci?

Answered by: Nirmal on: Feb 8th, 2012

We cant update the record in a file using file-aid if it is used by CICS region. Another way is to stop the file in the region and use file- Aid or just do it using CECI command

Soc7 abend

Asked By: rpg0247 | Asked On: Jun 29th, 2011

How can u resolve soc7 abend? How do you know the cause for soc7 abend? How do you findout. Where soc7 abend occurs?

Answered by: rasheeed17 on: Jan 3rd, 2012

Resolving abends is different point & resolving an perticular type of abend is different point. 1) Resolving abends ans) this refers to how you resolve abends in general , that is what approach or ...

Answered by: sujay on: Dec 12th, 2011

How to recreate this ASRA abend in CICS test regions.

How to validate data in database from cics program

Asked By: Santhosh Ramavath | Asked On: Oct 7th, 2011

I will have user name and password values in database. I create a map from cics. And I will enter user name and password then validation should be done in cobol program. What is cobol logic to validate database?

Answered by: sarankumar on: Oct 27th, 2011

Try this:
MOVE USERO TO WS-USER.
MOVE PWDO TO WS-PWD.
AND THEN USE THE SAME SQL QUERIES AS
SELECT USERNAME FROM EMP WHERE USERNAME LIKE '%S'
THEN validate as use the matching and move 'same value of user and pwd ' else move 'different values of user and pwd'

Answered by: hemanth.pesce on: Oct 19th, 2011

Code
  1. move usero to ws-user.
  2. move passo to ws-pass.
  3.  
  4. use sql query like
  5.  
  6. select  user , pass into ww-user , ww-pass
  7.  from table_name
  8. if sql code = 0
  9. move 'userid n password matching' to messageo
  10. else
  11. move 'missmatch' to messageo.

Cics date validation

Asked By: Prakash | Asked On: Sep 29th, 2011

I get " date of birth " details through cics maps from the user and I store the dd, mm , yyyy separately in different variables. I need to check whether the date entered is correct or not.. Ie. Feb should've 28 days in ordinary year and 29 during leap yr.. 31 days fr jan, mAR, etc and 30 days fr d other...

Answered by: Sandeep on: Oct 3rd, 2011

Use this db2 code-

exec sql
select 1 from sysibm.sysdummy1 where (provided date) < current date
end-exec

compare the entered date (yyyy-mm-dd) with the system date.

What is the map fail condition?

Asked By: varun | Asked On: Jul 18th, 2011

Answered by: NARESH on: Sep 18th, 2011

User does not enter the any information on the screen .we will get mapfail condition

Answered by: salman_kh on: Jul 24th, 2011

MAPFAIL occurs when no usable data is transmitted from Terminal or data transmitted is unformatted. MAPFAIL occurs on RECEIVE MAP. MAPFAIL Solve by HANDLE CONDITION.HANDLE CONDITION is used to transf...

How do you run/execute the program/job in a specific time/date in cics?

Asked By: Armstrong | Asked On: Aug 8th, 2007

Answered by: jzmoonrock56 on: Aug 31st, 2011

You can set up a trigger as an entry to a CICS table which fires off the task at a certain time and date.

Answered by: kckinney on: Sep 3rd, 2010

EXEC CICS START TRANSACTION(xxxx) AT.....

Note: You !WILL! shoot yourself in the foot if you don't understand application interval control. What you end up coding for HOURS will probably much different than you expect.

Can a cics region be attached to more than one db2 subsystem ?

Asked By: Suganj | Asked On: Apr 29th, 2007

Answered by: jzmoonrock56 on: Aug 31st, 2011

Yes, You use the set systemid command.

Answered by: kckinney on: Jun 11th, 2007

Nope. However in a sysplex, data sharing is used to get around this constraint.



kk

Dynamic cursor positioning

Asked By: tungal | Asked On: Jan 28th, 2008

In dynamic cursor positioning, what happens if I move +1 to field+l instead of -1 to field+l?????

Answered by: jzmoonrock56 on: Aug 31st, 2011

It will be moved to relative location 1 on the screen.

Answered by: 6983manish on: Dec 19th, 2010

Relative cusror positining ( Through Program ) ::Code the relative position in the CURSOR keyword of the SEND MAP command e.g. CUSROR(44) will place the cursor at 44th position - row 1 column 1 is 0th...

Protected fields

Asked By: Hemant borase | Asked On: Nov 27th, 2009

Can we update the protected field in the map? If yes, how?

Answered by: jzmoonrock56 on: Aug 31st, 2011

Yes to have to move the appropriate value to unprotect it.

Answered by: Anupam Srivastava on: Mar 11th, 2011

If some parameters are dynamically set and send  as protected from the program  then we can update it from the program and re-send it on the screen as protected .

What is the batch job and online job?

Asked By: gowrinag | Asked On: Jun 20th, 2008

Explain the difference between batch and online job

Star Read Best Answer

Editorial / Best Answer

Answered by: steffieweffie1

View all answers by steffieweffie1

Member Since Nov-2008 | Answered On : Nov 8th, 2008

A batch job is a stand alone job (no human interaction) that is kicked off by a utility job(usaually at night)  and runs data in bulk streams, such as updating 1 million rows to a database nightly, online job is real time, such as a user updating their address via  an interface screen and it being applied to the database as soon as they have confirmed it.

Answered by: jzmoonrock56 on: Aug 31st, 2011

There is no such thing as an online job, In CICS they are referred to as TASKS, batch processing runs JOBS

Answered by: kuttimathan on: Nov 30th, 2010

Batch Job Run through JCLTerminates once program is over Files are updated only when job is runUsed for extracts, reports and manipulation  Online JobRun in CICS regionTerminates only w...

Cics transaction commands

Asked By: rpg0247 | Asked On: Jul 4th, 2011

What are the transaction commands in cics? Explain with an example and sample code ?

Answered by: babjee talluri on: Jul 26th, 2011

CECI:-- cics execution command interpreter CEMT:-- cics execution master terminal(sing this we can copy the load module from batch to online & know program-id associated...

Who register the cics tables like ppt, pct, fct, rct?

Asked By: varun | Asked On: Jul 18th, 2011

Answered by: GUNESH on: Jul 20th, 2011

CICS ADMIN

Changing the maps

Asked By: varun | Asked On: Jul 18th, 2011

How would you make the changes to maps real time ? How to use this modified map in online?

How do I find the name of the cics region inside my cobol program?

Asked By: Suganj | Asked On: Apr 29th, 2007

Answered by: udaybhaskar on: May 4th, 2011

BY using Transaction ID in between Exec Cics and End-Exec

Answered by: panzer1 on: Jan 20th, 2010

EXEC CICS         ASSIGN APPLID (COMM-HOLD-REGION-ID)         RESP                 (W...

Why stop run is not used when we use cics in the cobol program?

Asked By: Aravindhan | Asked On: Oct 17th, 2007

Answered by: udaybhaskar on: May 4th, 2011

Cics Compiler(Translator) could not understand the StopRun commend as well as if we put the stop run in COBOL+cics program the control will directly pass to OS not to cics

Answered by: kckinney on: Sep 3rd, 2010

STOP RUN ends the program and returns control to the operating system and discarding all information about the job.Since YOUR program is running as a subtask of CICS, "STOP RUN" would shut d...

What is getmain and freemain? What are the restrictions while using getmain and freemain?

Asked By: Suganj | Asked On: Apr 29th, 2007

Answered by: kckinney on: Sep 3rd, 2010

They GET and FREE MAIN memory.These are rarely used as the system takes care of memory needs far more efficiently than you can code.NEVER use these without the advice of a senior CICS sysprog. The re...

Answered by: srinivashn82 on: Sep 18th, 2007

The concept of CICS GETMAIN is simply to provide the programmer the capacity of obtaining additional storage to augment storage acquired automatically by his program (e.g., WORKING-STORAGE in a COBOL ...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.