View previous topic :: View next topic |
Author |
Message |
batu544 Beginner
Joined: 02 Aug 2005 Posts: 75 Topics: 27
|
Posted: Wed Jan 18, 2006 11:52 pm Post subject: DISPLAY in CICS |
|
|
Hi,
As far as i know we can't use DISPLAY in CICS-COBOL program.
but when i coded a display command in a CICS-COBOL program, it gave me return code 0. so...
Can anyone tell where can i see the display value ??
and how can can i know my CICS region name ? _________________ Regards,
batu |
|
Back to top |
|
|
blitz Beginner
Joined: 24 Dec 2002 Posts: 28 Topics: 4
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Jan 19, 2006 5:22 am Post subject: |
|
|
blitz,
The link is working fine. Make sure that you do not have POPUP Blocked as the link will open in a new window.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Thu Jan 19, 2006 10:26 am Post subject: |
|
|
batu544,
About your original question on using DISPLAY statement in CICS, although not recommended, you can use it (with higher versions of COBOL or LE libraries link-edited). Though never done it myself, I have come across DISPLAY statements in CICS-COBOL programs, wherein the output was directed to the CICS IPL job sysout. Check your CICS IPL job to see if the output goes there.
HTH...Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
|
batu544 Beginner
Joined: 02 Aug 2005 Posts: 75 Topics: 27
|
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
German Castillo Beginner
Joined: 23 Dec 2005 Posts: 83 Topics: 2 Location: Caracas, Venezuela
|
Posted: Fri Jan 20, 2006 7:48 am Post subject: |
|
|
Hello batu544,
The very basic principle for an online shared platform, and CICS certainly is the best example is NOT to do any I/O directly, or perhaps anything which involves the usage of any SVC. The reason is simple... any INTERRUPTION, just places the whole address space in wait. Think about it for a moment, why do the other users have to wait untill your I/O completes?
Of course CICS provides an alternate mechanism to achieve the same purpose, not using any SVC, or at the very best using them in a controlled way. Most of them are implemented in internal control programs, which in turn are accesed through a common front end, if you are using command level of course. When you use, in your program EXEC CICS WHATEVER.... END-EXEC the code inserted by the translator modifies this line in something like CALL DFHXXX USING ..... The DFHXXXX varies depending upon the programming language that you are using, but basically it transfers control to the standard front end program, giving as parms among other things the execution interface block (EIB), does its functions and gives back the control.
Bottom line... using 'DISPLAY' or any other instruction which generates an I/O should be avoided at all cost. It doesn't mean at all, that they are 'restricted', 'vanished' or 'prohibited', they are still there and the program, at execution time is going to 'TRY' to execut them, perhaps working some of them, but again using the standard CICS interfaces is a lot better, from a performace and proper usage of the CICS platform point of view. _________________ Best wishes,
German Castillo |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Fri Jan 20, 2006 9:32 am Post subject: |
|
|
batu544,
Quote: |
Can you tell me how can I check CICS IPL job sysout ?
and how can can i know my CICS region name ?
|
CICS IPL job is like any other job and you can check the sysout like any other job.
Talk to your CICS admin to get the job name for your CICS region name. Some installations keep both of them the same and so thats a useful starting point for you. But thats not necessary. Your CICS region name depends finally on the SIT parameters on the CICS IPL job.
HTH...Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
|
batu544 Beginner
Joined: 02 Aug 2005 Posts: 75 Topics: 27
|
Posted: Fri Jan 20, 2006 1:18 pm Post subject: |
|
|
Thanks to all of you for your quick and valuable response ..
thanks _________________ Regards,
batu |
|
Back to top |
|
|
|
|