When an XCTL is done, does the tranid change ? Is a new
task created ? Does it cause an implicit
Answers were Sorted based on User's Feedback
Answer / guest
it does't change trans-id, the XCTL command invokes another
program option on this commandd , a copy of d data in d
area it names is passed to the invoked program and stored
in its DFHCOMMAREA field. becoz the invoked program
receives a copy of d data sent to it from d invoking
program , changes made to d data by the invoked program are
not reflected in d invoking program.
if the program u specify does not exist , a PGMIDERR
exceptional condition occures . in most cases , u don't
need to test for this condition.
when u use the XCTL command to invoke a program , the
invoking program ends and its memory allocations r released
since control will not return to it.
-> i causes an implicit.
-> it does not create new task it simply tranfers control
to one application program to another application program
at the same logical level.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / jaga
XCTL can be used to pass control to other program
PROGRAM ('PROGRAMNAME')
COMMAREA(DFHCOMMAREA)
LENGTH(EIBCALEN)
No transid is not changes.implicit synpoint id defined.
| Is This Answer Correct ? | 2 Yes | 0 No |
I just want to ask why does the variable I passed in a dclgen of sql that has a data type of varchar which has a maximum length is 250 is truncated,, Here is the code.. DCLGEN of rsauud01 table 01 dataarea 43 data-area-len pic s9(4). 43 data-area-text pic x(250). MYVARIABLE. 01 DATAAREA1 pic x(250). move 250 to data-area-len of dataarea of rsauud01 MOVE DATA-AREA1 TO data-area-text of dataarea of rsauud01 --- but it is always trucated everytime I insert it in the table by the way it is a cobol-cics program
Explain the purpose of the program list table?
Db2 what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cicsregions that share the same db2 subsystem?
How many ways are there for initiating a transaction?
What do you do if you do not want characters entered by the user to be folded to uppercase ?
Can a CICS code be a part of a copybook? If so, then what are the outcomes after compilation?
Explain how pa key is different from pf key?
the dfhcommara is used to pass information from one application to another. What are some other ways that this function can be accomplished?
What will be the length of the eibcalen ,if the transaction is used to cics first time?
where we can declare the files in fct and pct and ppt and rct pls give clear structure
Can you define multiple maps in a BMS mapset?How,can anybody sent with syntax?
What?s the CICS command used to access current date and time?