MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DISPLAY in CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Wed Jan 18, 2006 11:52 pm    Post subject: DISPLAY in CICS Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
blitz
Beginner


Joined: 24 Dec 2002
Posts: 28
Topics: 4

PostPosted: Thu Jan 19, 2006 1:12 am    Post subject: Reply with quote

I got this from a search but the link is not working.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2650&highlight=display
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Jan 19, 2006 5:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Thu Jan 19, 2006 10:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Thu Jan 19, 2006 11:43 pm    Post subject: Reply with quote

kolusu,

blitz is not talking about this link . He is talking about the link which is provided in that message. Smile

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHJAP3B/1.3.1.2?SHELF=&DT=20030108142051&CASE=

That book is not in Library Server catalog.

Manas Biswal,

Can you tell me how can I check CICS IPL job sysout ?
and how can can i know my CICS region name ?

thanks
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Jan 20, 2006 5:26 am    Post subject: Reply with quote

batu544,

fixed the manual link the topic. Here is the correct link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP3A04/1.4.1.1?SHELF=&DT=20050112153951&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
German Castillo
Beginner


Joined: 23 Dec 2005
Posts: 83
Topics: 2
Location: Caracas, Venezuela

PostPosted: Fri Jan 20, 2006 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Fri Jan 20, 2006 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Fri Jan 20, 2006 1:18 pm    Post subject: Reply with quote

Thanks to all of you for your quick and valuable response .. Smile

thanks
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group