View previous topic :: View next topic
|
Author |
Message |
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
hi friends,
can anyone provide answers to these questions...
1. If a VSAM file is opened that is not loaded what will happen?
2. What are the different types of files (not in the case of VSAM)?
3. What are the abend codes we usually find in cases of DB2 and CICS?
indu |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
1)we cannot open a Vsam thats not loaded
2)files means question not clear
files available r QSAM
BDAM
etc....................
3)DB2 common abend codes are
-818
-802
-504
+100
-812
Cics the codes are
APCT
Aey9
ASRA
AEI0 |
|
Back to top |
|
|
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
hai,
my intervwr said dat it is possible to open a vsam file which is not loaded.are u sure it is not possible.
Thank you 4 ur kind reply prasanth.Can u tell me when APCT,AEY9,ASRA abend codes are coming.
regards indu |
|
Back to top |
|
|
raghs_sir
New User
Joined: 19 Jul 2005 Posts: 9 Location: Chennai
|
|
|
|
hi,
u try to open a file which's not loaded....file status code will be 35.
U can check in ur program if file-status = 35
after open statement.
Also,...U've loaded 20 records and after that deleted all 20,
Then it won't give file-status = 35, the system will open that file...
But when u'll try to read, file-status = 10 (END-OF-FILE) will be set...
Do correct me if i'm wrong.
regards,
Raghs. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
To load a VSAM file you have to open it.
What you mean is that you can't open an unloaded VSAM file for INPUT or I-O.
If you define the file as ACCESS SEQ or DYNAM, then open the file for OUTPUT and WRITE to it, you are loading the file. |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
Hi Indu
APCT
Explanation: One of the following has occurred:
1. The program name in the EXEC CICS HANDLE ABEND program is not usable at the time an abend occurs because:
.
2. An attempt to load a mapset or partitionset failed because although
the program is defined to CICS
3. An attempt to link to, load, or release an internal CICS program
failed because:
4 Also verify whether the if you declared program in the PPT or not. |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
ASRA abend occurs after a VS COBOL II subroutine (called
by CICS LINK) returns control to the VS COBOL II calling
program.
Or it can be any
Any data exception problem SOC7, SOC4 etc
AEY9
DB2/IDMS not up. |
|
Back to top |
|
|
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
hi,
thank u all 4 ur kind reply....
indu |
|
Back to top |
|
|
deepak.venkataraman
New User
Joined: 07 Sep 2005 Posts: 8 Location: Bangalore
|
|
|
|
hi indu,
normally in vsam if u attempt to open a file without data it will cause vsam open error but at the same time we can open the file in output mode...so at that time it will create a dummy record..and after closing the file it will delete that dummy record. This is called as initialization of vsam file. |
|
Back to top |
|
|
|