What are the main steps needed to create a cics region?
Why would a cics region abend on a s322. It happened twice in 2 days in different cics subsystems. Any view out there
timeout error
Explain about the real time usage and situation where it helps
This is CICS command used to read temporary storage queues
Non numeric data transfer to numeric causes soc 7.But I want with reference to .....Xref,line number,..
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
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?
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
How can u resolve soc7 abend? How do you know the cause for soc7 abend? How do you findout. Where soc7 abend occurs?
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 ...
How to recreate this ASRA abend in CICS test regions.
How to validate data in database from cics program
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?
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'
Code
move usero to ws-user. move passo to ws-pass. use sql query like select user , pass into ww-user , ww-pass from table_name if sql code = 0 move 'userid n password matching' to messageo else move 'missmatch' to messageo.
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...
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?
User does not enter the any information on the screen .we will get mapfail condition
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?
You can set up a trigger as an entry to a CICS table which fires off the task at a certain time and date.
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 ?
Yes, You use the set systemid command.
Nope. However in a sysplex, data sharing is used to get around this constraint.
kk
In dynamic cursor positioning, what happens if I move +1 to field+l instead of -1 to field+l?????
It will be moved to relative location 1 on the screen.
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...
Can we update the protected field in the map? If yes, how?
Yes to have to move the appropriate value to unprotect it.
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?
Explain the difference between batch and online job
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.
There is no such thing as an online job, In CICS they are referred to as TASKS, batch processing runs JOBS
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...
What are the transaction commands in cics? Explain with an example and sample code ?
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?
CICS ADMIN
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?
BY using Transaction ID in between Exec Cics and End-Exec
EXEC CICS ASSIGN APPLID (COMM-HOLD-REGION-ID) RESP (W...
Why stop run is not used when we use cics in the cobol program?
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
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?
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...
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 ...