Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ERROR CODE "ABM0" when writing to KSDS from CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
bhupesh.dewangan

New User


Joined: 07 Feb 2007
Posts: 1
Location: mumbai

PostPosted: Wed Feb 14, 2007 4:21 pm    Post subject: ERROR CODE "ABM0" when writing to KSDS from CICS
Reply with quote

HII ALL,
ITRIED TO THIS BUT I GOT ERROR CODE "ABM0"
MY PROGRAMS ARE:

APLLICATION PROGRAME:
Code:
  IDENTIFICATION DIVISION.         
  PROGRAM-ID. MAP1.               
  ENVIRONMENT DIVISION.           
  DATA DIVISION.                   
  WORKING-STORAGE SECTION.         
      COPY MAP1.                   
      COPY DFHBMSCA.               
      COPY DFHAID.                 
 *01 WS-REC.                       
 *    02 WS-SRNO PIC X(5).         
 *    02 FILLER PIC X(75).         
 *    02 WS-NAME PIC X(15).       
 *77 WS-LEN PIC S9(4) COMP.       
 *77 WS-KEY PIC 9(5).             
  LINKAGE SECTION.                 
  01 DFHCOMMAREA.                 
     02 WS-REC.                   
       03 WS-SRNO PIC X(5).         
      03 FILLER PIC X(75).           
 *    03 WS-NAME PIC X(15).         
  77 WS-LEN PIC S9(4) COMP.         
 *77 WS-KEY PIC 9(5).               
  PROCEDURE DIVISION.               
       MOVE 5 TO WS-LEN.             
       MOVE LOW-VALUE TO STUDO.     
       MOVE 5 TO WS-KEY.             
      EXEC CICS SEND                 
           MAP('STUD')               
           MAPSET('MAP1')           
           ERASE                     
      END-EXEC.                     
      EXEC CICS RECEIVE             
           MAP('STUD')               
           MAPSET('MAP1')           
           LENGTH(WS-LEN)           
           INTO(WS-REC)             
      END-EXEC.                     
      EXEC CICS WRITE               
               FROM(WS-REC)         
               LENGTH(WS-LEN)       
               FILE('PROJECT')       
               RIDFLD(WS-KEY)       
      END-EXEC.                     
      EXEC CICS RETURN               
      END-EXEC. 
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Feb 14, 2007 4:35 pm    Post subject:
Reply with quote

The fine Manual CICS Messages and Codes clearly states:
Quote:
ABM0
Explanation: The map specified for a basic mapping support (BMS) request could not be located.
System Action: The transaction is abnormally terminated with a CICS transaction dump.
User Response: Check if the map has been defined. If it has, check that it has been specified correctly.
Do you understand?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 14, 2007 9:18 pm    Post subject:
Reply with quote

Hello,

Said slightly differently, you have a map problem, not a vsam problem.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us