View previous topic :: View next topic
|
Author |
Message |
DST
New User
Joined: 31 May 2007 Posts: 38 Location: America
|
|
|
|
hi,
I have a query screen. After I input the info and pressed enter, my screen is frozen.
I run /display user usr1 and i got.
Code: |
USER USERID ENQCT DEQCT QCT
usr1 usr1 65 54 11 ALLOC(L470 ) RESP-INP
*07276/114426*
|
/display all, i got:
Code: |
REGID JOBNAME TYPE TRAN/STEP PROGRAM STATUS CLASS
1 IMSAMSG1 TPE WAITING 1
BATCHREG BMP NONE
FPRGN FP NONE
DBTRGN DBT NONE
IMSADBRC DBRC
IMSADLI DLS
VTAM ACB OPEN -LOGONS ENABLED
IMSLU=DALVM1XX.IMSALU62 APPC STATUS=ENABLED
OTMA GROUP=IMSGROUP STATUS=ACTIVE
APPLID=IMSACB GRSNAME= STATUS=DISABLED
LINE ACTIVE-IN - 1 ACTIV-OUT - 0
NODE ACTIVE-IN - 1 ACTIV-OUT - 0
*07276/114607*
|
Can anyone please help me to find out why screen is not resonding?
Thanks. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Hi - we need to see your code - your logic for getting your message and your logic for sending the screen. Remember that once you communicate - pressing any key - your message will be sent and you will need to handle that logic when you issue your GU for the message coming back. If you give us that info - then we can help. |
|
Back to top |
|
|
DST
New User
Joined: 31 May 2007 Posts: 38 Location: America
|
|
|
|
1. What is IMSAMSG1?
2. How can I get away from a frozen termianl?
3. Is there any way to debug the program?
Thanks. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
You are probably hung in response mode because you did not send and receive your message properly. You can get away from a frozen terminal by correcting your code. You will first need to recycle the region - hopefully it is a TEST region. Then you will need to tell us your program code so that we can help you debug it. Remember that once you hit a key, you are communicating with IMS. You are sending a message and hopefully you have coded logic in your program to receive it. You very obviously have erroneous code in your program. IMS is lost and cannot recover. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
After I input the info and pressed enter, my screen is frozen. |
What info you entered? How can we guess what you entered on the screen?
Quote: |
1. What is IMSAMSG1? |
This could be your online MPP region
Quote: |
2. How can I get away from a frozen termianl? |
Check whether your transaction Id, PSB etc are all up and running
Check whether your MPP region required for your application is up and running
Quote: |
3. Is there any way to debug the program? |
Yes there are many ways to debug the program like BTS, Xpeditor |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Sandy Zimmer
I've a question for you.. in most of your posts your reply is
Quote: |
Hi - we need to see your code |
.
I'm little curious to know whether do you have so much time to go thru the full code and explain what is the issue?
Say suppose there is a program which is not issuing any DLI call but the subprogram issues DLI call, and for some weird reason main program is failing and what if your were given with the Main program with no DLI calls or sub program with DLI call which is working with no issues?
Also say if the program is 15000 lines of code will you be able to go thru the code?
Say the DBD or PSB is having issues, and the COBOL code has some issues but no DLI call errors - will you be looking at the COBOL code without looking at other database issue? |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Devzee,
Yes! I am very good at IMS. I do not need to see the "moves" - I need to see the IMS code - the retrieval and sending of the message - that would be a start in this situation. If this particular problem were with either the PSB or DBD, DST would not be hung in response mode - he would not have gotten that far. Answer your question? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Devzee & Sandy: These kind of discussions via PM please.
As for the topic: TS should post all info needed. We could have a look at the IMS related coding and if that's ok then advise TS to look for something else like an endless loop. Exploring the MPP via BTS seems a good option to me.
To TS: please post your message processing code (MSG and SPA) as a first step to investigate. |
|
Back to top |
|
|
DST
New User
Joined: 31 May 2007 Posts: 38 Location: America
|
|
|
|
Since I don't own the codes. I have to modfy it before I can post it here.Because I am new to this world, my first thought was it must be something related to the setup or by posting some system message and you would lead me to the right path.
Thanks! |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
IF necessary delete my post |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Devzee: not necessary
TS: how can it be you enter /dis command when your screen is frozen? My guess is your program is waiting for input. As stated before we need to have a look at you messagequeue processing.
Quote: |
1 IMSAMSG1 TPE WAITING 1
|
|
|
Back to top |
|
|
DST
New User
Joined: 31 May 2007 Posts: 38 Location: America
|
|
|
|
please explain what is MSG and SPA? how can I get them?
Also, if I have a screen frozen, how can I "re-boot" that termial in order for me to use that termial and user ID again? I am currently using another ID to get the statu info.
Thanks. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
/stop and /start. follow the first link in my signature and search for /stop and /start.
Do you kow anything at all about IMS/DC?
An MPP (message processing program) comunicates with users via messages; it receives a message, processes it and sends a message back to the terminal. Intermediate results are stored in the SPA (Scratch Pad Area) which is created for each terminal communicating with one single occurrence of an MPP.
Before working with IMS/DC you should be well trained. |
|
Back to top |
|
|
|