APS-IMS

Category: IMS and IMS-TP macros.

1020-00-E    (TP) SUBSCRIPT MISSING FOR SCR: screen FLD: field

An attributed field within a repeated block is missing the subscript for that field.

Resolution:

Ensure that you code the subscript for the attributed field.

1030-00-E    (TP) SCR: screen FLD: field IS NOT A REPEATED FIELD

You coded an attributed field with a subscript and that field is not part of a repeated block.

Resolution:

Remove the subscript.

1040-00-E    (TP) FLD: field IS NOT A VALID FIELD FOR SCR: screen

The coded field name is invalid for the named screen.

Resolution:

Check the spelling of the field name.

1050-00-E    (TP) REQUIRED SCREEN NAME NOT SUPPLIED

You did not supply the screen name when:

Resolution:

Supply the screen name.

1060-00-E    (TP) REQUIRED ATTRIBUTE NOT SUPPLIED

When setting attributes ($TP-ATTR), you did not supply the attribute.

Resolution:

Supply the attributes you want to set.

1070-00-E    (TP) REQUIRED FIELD NAME NOT SUPPLIED

When setting attributes ($TP-ATTR), you did not supply the field name.

Resolution:

Supply the field name(s) you want to attribute.

2010-00-E    (TP) COMBINATION OF ATTRIBUTES: attributes NOT RECOGNIZED IN ATTRIBUTE TABLE

The attribute table in APIMSTP does not contain the combination of the values given.

Resolution:

Contact your APS Administrator. Attribute table needs updating.

2011-00-E    'PREV' INVALID FOR IMS

The keyword PREV or PREVIOUS is invalid when accessing an IMS database.

Resolution:

Correct the call by removing the keyword PREV.

2030-00-W    (TP) ATTRIBUTES: attributes NOT VALID

Attribute given is invalid.

Resolution:

Check the spelling of the attribute.

2031-00-E    INVALID COMMAND FOR GSAM

APS does not allow the command for GSAM records.

Resolution:

The command is either a DB-MODIFY or DB-ERASE, both of which are invalid for GSAM. Remove the command.

2040-00-E    MULTI LEVEL CALL INVALID FOR GSAM

You can only specify a single record in the call when accessing a GSAM database.

Resolution:

Correct the call by specifying only one record for processing.

2041-00-W    EXTENDED ATTRIBUTE: XXXXXXXX HAS NO EFFECT ON SCREEN IN PCIMS

The extend attribute XXXXXXXX will be either color, blink, reverse video, or underscore, depending on which of these you coded in the $TP-ATTR command.

Resolution:

If you use any of the above extended attributes, be aware that they have no effect in PCIMS.

2042-00-W   FIELD: XXXXXXXX PCIMS DOES NOT SUPPORT USING ANY FIELD IN BOTH SYSMSG & TC CONSTRUCT

Field XXXXXXXX is the name of the field that you designated for SYSMSG in the PM window of the Screen Painter: APS also uses it on the TC (Trancode Construction) window. APS produces the W-level message at screen generation. APS produces the E-level message at program generation.

Resolution:

Code different field names for the SYSMSG and TC fields if the target is PCIMS.

2042-00-E    FIELD: XXXXXXXX PCIMS DOES NOT SUPPORT USING ANY FIELD IN BOTH SYSMSG & TC CONSTRUCT

Field XXXXXXXX is the name of the field that you designated for SYSMSG in the PM window of the Screen Painter: APS also uses it on the TC (Trancode Construction) window. APS produces the W-level message at screen generation. APS produces the E-level message at program generation.

Resolution:

Code different field names for the SYSMSG and TC fields if the target is PCIMS.

2043-00-W    FIELDS DEFINED: NNN MORE THAN 400 FIELDS IN ONE SCREEN NOT SUPPORTED IN PCIMS.

You coded more than 400 fields for one screen, exceeding the limit for PCIMS.

Resolution:

Limit number of screen fields to 400 or under, if the target is PCIMS.

2050-00-E    GSAM RECORD CAN BE QUALIFIED ONLY ON ONE FIELD

You can only qualify the record on one key when accessing a GSAM database.

Resolution:

Correct the call by specifying only one field qualification.

2060-00-E    GSAM RECORD MUST BE QUALIFIED ON 'GSAM-KEY'

You must use the dummy field, GSAM-KEY, when qualifying on a GSAM record.

Resolution:

Correct the call by specifying GSAM-KEY as the key.

2070-00-E    FOR RECORD recordname NO PCB WITH PROCOPT 'G' OR 'I'

To retrieve a GSAM record, the PCB must have a procopt of G; to insert a GSAM record, the PCB must have a procopt of I.

Resolution:

Consult with the Database Administrator to determine appropriate processing options for the record in question.

2080-00-I    VIEW HAS DEFAULTED TO: viewname

You did not specify a view name in the call, so the View has defaulted.

Resolution:

If you do not explicitly specify PCB (or View) in the call, then the default PCB is the first one in the PSB that permits access to the first record named in the call. No response is necessary.

2090-00-E    PROCOPT VIOLATION: GET REQUIRED FOR RECORD

You coded a DB-OBTAIN coded for a record and the PCB does not allow retrievals.

Resolution:

Consult with Database Administrator to determine appropriate processing options for the record in question.

2100-00-E    PROCOPT VIOLATION: INSERT REQUIRED FOR RECORD

You coded a DB-STORE coded for a record and the PCB does not allow inserts.

Resolution:

Consult with Database Administrator to determine appropriate processing options for the record in question.

2110-00-E    PROCOPT VIOLATION: REPLACE REQUIRED FOR RECORD

You coded a DB-MODIFY for a record and the PCB does not allow updates.

Resolution:

Consult with the Database Administrator to determine appropriate processing options for the record in question.

2120-00-E    PROCOPT VIOLATION: DELETE REQUIRED FOR RECORD

You coded a DB-ERASE for a record and the PCB does not allow deletes.

Resolution:

Consult with the Database Administrator to determine appropriate processing options for the record in question.

2130-00-E    PROCOPT VIOLATION: PATH REQUIRED FOR RECORD

You requested a record in a path call, and the procopt does not allow path calls.

Resolution:

Consult with the Database Administrator to determine appropriate processing options for the record in question.

2140-00-W    FOR RECORD: recordname RECORD IS KEY SENSITIVE; NO DATA RETRIEVED

For a DB-OBTAIN, APS referenced the lowest level record; data not retrieved.

Resolution:

The record named is key sensitive so APS does not retrieve data in the IO area; however, you can determine whether or not the record exists in the database by checking the status flags as done normally. No response is necessary.

2150-00-E    FOR RECORD: recordname LOWEST LEVEL RECORD MAY NOT BE 'REFERENCED' UNLESS KEY SENSITIVE

For a DB-OBTAIN, APS may not reference the lowest level record unless it is key sensitive.

Resolution:

Correct the call by preceding the lowest level record specified in the call by the keyword, REC.

2160-00-W    FOR KEY: key QUALIFICATIONS SPECIFIED DO NOT MATCH ACTUAL NUMBER OF PARTS COMPRISING KEY

The key contains more than one field, but the number of qualifications specified in the call for this key is less than the actual number of parts.

Resolution:

The key is a secondary index comprised of more than one field. You specified a number of fields to move to the SSA that is less than the actual number of fields comprising the key. No response is necessary.

2170-00-E    FOR KEY: key TOO MANY QUALIFICATIONS SPECIFIED FOR KEY

The key contains more than one field, and the number of qualifications specified in the call for this key exceeds the actual number of parts.

Resolution:

The key is a secondary index comprised of more than one field. You specified a number of fields to move to the SSA that is more than the actual number of fields comprising the key. Correct the call by specifying the correct number of fields to be moved to the SSA.

2180-00-E    FOR RECORD: recordname MORE THAN FIVE COMMAND CODES GENERATED

The number of command codes generated exceeds the limit of five.

Resolution:

You probably caused more than five command codes to generate by coding the keyword CCODE followed by a list of command codes. If you need more than five command codes, call the APS Administrator; otherwise, remove unnecessary command codes.

2190-00-E    ASSEMBLER BLOCKING ROUTINE MUST BE USED WHEN NOT USING DEFAULT IO AREA

You must use the assembler blocking and unblocking routine when acting on more than one record in a call and specifying an IO area different from the default.

Resolution:

You must set an FMP symbol to specify that you are using the assembly. Consult the APS Administrator for the proper way to do this.

2200-00-E    FOR RECORD: recordname LOGICAL CONCATENATED RECORD INVALID IN PATH CALL WHEN LOGICAL CHILD IS VARIABLE LENGTH

You cannot specify the record in a path call because the logical child portion is a variable length.

Resolution:

Remove the named record from the path call.

2210-00-W    DATA BASE CALL NOT GENERATED FLAG SET TO SUPPRESS DATA BASE CALL

The FMP flag, &IM-SUPPRESS-DB-CALL, set. It suppresses the database call.

2220-00-W    DATA BASE CALL NOT GENERATED BECAUSE DC TARGET IS ISPF

APS suppressed the database call because the DC target is ISPF for prototyping and you did not define the FMP flag, &IM-SUPPRESS-DB-CALL.

3010-00-E    FOR RECORD: recordname FOR KEY: key KEY INVALID FOR RECORD

The key specified in the call is invalid for the record.

Resolution:

The named key is unknown for the named record. Check spelling of the key name.

3020-00-E    FOR RECORD: recordname INVALID RECORD NAME

APS does not recognize the specified record name as a valid COBOL record name.

Resolution:

In a subschema where there are DLI and VSAM records, APS cannot determine the type of record. Check the spelling of the named record.

3030-00-E    FOR RECORD: recordname PCB NOT FOUND. INVALID RECORD NAME; USE COBOL RECORD NAME

You did not give a PCB name the call and APS cannot use the default because the record name is incorrect.

Resolution:

Check the spelling of the named record.

3040-00-E    FOR VIEW: view INVALID VIEW NAME

The PCB name specified in the call is incorrect.

Resolution:

Check the spelling of the named View (PCB).

3050-00-E    FOR VIEW: view FOR RECORD: recordname INVALID RECORD NAME. USE COBOL RECORD NAME

The record name specified in the call is incorrect.

Resolution:

Check the spelling of the named record.

3060-00-E    FOR RECORD: recordname FOR PARENT: parentname PARENT INVALID FOR THIS RECORD

The records specified in the call are not in the correct hierarchy.

Resolution:

Correct the call so that the specified records are in the proper hierarchical order.

4010-00-E    FUNCTION NOT NOW SUPPORTED BY PCIMS

APS produces this message if you coded any of the following system service calls: IM-STAT, IM-ROLL, IM-ROLB, and IM-LOG.

Resolution:

Do not code the above system service calls if the target is PCIMS.

4020-00-W    GSAM CALL GENERATED WITHOUT: XXXXXXXXXXXX RSA; PCIMS DOES NOT SUPPORT RSA

APS produces this message if you coded a record search argument on any of the following GSAM calls: IM-GU, IM-GN, or IM-ISRT, and the target is PCIMS.

Resolution:

Do not code a record search argument on the above GSAM calls if the target is PCIMS.

5010-00-E    (TP) PROGRAM ARGUMENT REQUIRED

APS invoked the $TP-MSG-SW macro and detected that the first parameter is missing or contains nulls.

Resolution:

Code the program name or transaction ID as the first parameter in the macro.

5020-00-E    (TP) NO ALT PCB FOR pcbname

APS invoked $TP-CHNG-TO-DEST and detected that there is no alternate PCB defined.

Resolution:

Correct the PSB to define an alternate PCB. It may be necessary to contact your APS Administrator.

5030-00-E    (TP) NO APPROPRIATE IO-PCB

A TP-SEND or TP-MSG-SW command in the program required an alternate IO PCB with specific characteristics and the present program PSB cannot provide the appropriate PCB. You must match the three independent criteria specified in (or allowed to default in) the command in a single IO PCB in order for APS to choose it for the command. The criteria used to select an IO PCB is as follows:

Resolution:

Review the command to determine the PCB requirements. Either modify the PSB to provide a PCB with appropriate options (and redefine the modified PSB to APS DDI) or modify the command so that its PCB requirements meet an IO PCB that is available within the PSB.

5040-00-F    (TP) SUBSCHEMA OR PSB MACRO NOT INVOKED

You did not invoke $IM-PSB or $DB-SUBSCHEMA.

Resolution:

All IMS programs must invoke either $IM-PSB or $DB-SUBSCHEMA as the first macro in the program.

5800-00-F    (TP) DB2 IS NOT A VALID DB TARGET FOR MICRO FOCUS IMSVS86

The Data Definition symbols contain DB2 references.

Resolution:

Micro Focus's IMSVS86 does not support DB2. Remove references to DB2.

6010-00-E    (TP) MUST BE INVOKED IN COBOL AREA A

You invoked $TP-ENTRY from the wrong column.

Resolution:

Make sure that you coded $TP-ENTRY in COBOL AREA-A, which is between columns 8 and 11 inclusive.

6020-00-W    (TP) USE TP-SEND WITH ENDCONV

You invoked $TP-SEND-LAST macro. APS replaced this macro with $TP-SEND.

Resolution:

Use $TP-SEND instead of $TP-SEND-LAST. Code the keyword ENDCONV because you used a SPA.

6030-00-W    (TP) USE $TP-SEND

You invoked $TP-SEND-LAST macro. APS replaced this macro with $TP-SEND.

Resolution:

Use $TP-SEND instead of $TP-SEND-LAST.

6040-00-E    (TP) UNKNOWN KEYWORD: keyword

The named keyword is invalid.

Resolution:

Check the spelling of the keyword.

7010-00-E    (TP) SCREEN MUST HAVE VALUE, NOT NULL OR SPACES

APS invoked $TP-SEND and the first parameter is missing or contains nulls.

Resolution:

Code the screen name as the first parameter in the macro.

7020-00-W    (TP) USE $TP-MSG-SW INSTEAD OF $TP-XCTL

You invoked $TP-XCTL. APS replaced this macro by $TP-MSG-SW for IMS programs.

Resolution:

Use $TP-MSG-SW instead of $TP-XCTL.

7030-00-E    (TP) FIRST PARM TO TP-SCRNLIST MUST NAME A SCREEN

The TP-SCRNLIST command detected a keyword as the first parameter. Keyword parameters must follow one or more screen names.

Resolution:

Correct the command, reviewing documentation as necessary.

7040-00-E    (TP) SCREEN: screenname MUST BE LABELED

TP-SCRNLIST in an IMS/DC program supplied the name of a screen for which you did not specify the LABELED option during screen definition (painting). The LABELED option causes the input message to contain the screen name as the final 8 bytes. APS requires this so that logic generated by TP-SCRNLIST may determine which screen it received at run time.

Resolution:

Verify that you provided the correct screen names to the TP-SCRNLIST command. If necessary, use the Screen Painter to specify the LABELED option and regenerate the screens that do not specify this option.

7050-00-E    (TP) 'RECORD' KEYWORD INVALID WHEN USING TP-SCRNLIST

The TP-SCRNLIST command detected the RECORD keyword. RECORD is not a valid parameter for TP-SCRNLIST.

Resolution:

Correct command, reviewing documentation as necessary.

7060-00-E   ALT LTERM REQUIRED FOR DESTINATION-PRINTER

When using TP-SEND and you defined the output device on the Parm window of the Screen Painter to a printer, ensure that you include an alternate PCB TYPE=TP definition in the PSB source.

Resolution:

Define an alternate PCB TYPE=TP in the PSB source. Otherwise, change the output device on the Parm window of the Screen Painter to screen or program.

8010-00-F    (TP) INCLUDE APMDCSC BEFORE APIMSTP

You included the macro library member APIMSTP before the member APMDCSC.

Resolution:

Contact your APS Administrator. The problem is probably within the JCL stream.

8020-00-F    APIMSTP INCLUDED TWICE - REMOVE EXTRA INCLUDE

You included the macro library member, APIMSTP, twice.

Resolution:

Contact your APS Administrator. The problem is probably within the JCL stream.

8030-00-E    $TP-LINKAGE INVOKED TWICE - REMOVE EXTRA INCLUDE

APS invoked the macro $TP-LINKAGE more than once.

Resolution:

Code $TP-LINKAGE only once in the program.

8040-00-E    (TP) $TP-LINKAGE MUST BE INVOKED BEFORE $TP-ENTRY

APS invoked the macro $TP-LINKAGE after $TP-ENTRY.

Resolution:

Code $TP-LINKAGE before coding $TP-ENTRY.

8050-00-F    $TP-ENTRY MUST BE INVOKED FOR IMS PROGRAM

You compiled a program with the MDC set to IMS/DC but APS did not encounter TP-ENTRY.

Resolution:

Correct input and resubmit; either change the target to batch or use the ENTRY keyword.

8060-00-F    $TP-SCRNLIST MUST BE INVOKED BEFORE TP-ENTRY

APS encountered $TP-ENTRY, followed by $TP-SCRNLIST.

Resolution:

Change the order of the macros so that $TP-SCRNLIST appears first.

8070-00-F    TP-SCRNLIST INVOKED MORE THAN ONCE

Only one invocation of TP-SCRNLIST is valid.

Resolution:

Delete extraneous TP-SCRNLIST(s).

8080-00-E    *NOSPA KEYWORD USED TWICE

Only one SPA Keyword allowed per $TP-SCRNLIST.

Resolution:

Delete extraneous *NOSPA(s).

9010-00-F    MISSING INCLUDE SCRSYMB FOR SCR: screen

The screen symbols for the named screen are missing.

Resolution:

Contact your APS Administrator.

9020-01-F, 02-F    PROGRAM-INVOKED PARA FOR NON-CONVERSATIONAL IMS PROGRAM

A nonconversational IMS/DC program contains the paragraph APS-PROGRAM-INV-PARA. In a program using design mode, APS performs this paragraph when the program is TP-PROGRAM-INVOKED. Usually you should set TP-PROGRAM-INVOKED to True only for a conversational program. The presence of APS-PROGRAM-INV-PARA in a nonconversational program is an apparent conflict and may not function as intended.

Resolution:

If you want to keep the paragraph, explicitly perform it from user-written logic or define the program as conversational by specifying &TP-USER-LEN 0. Otherwise, remove the paragraph.


Copyright © 2002 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.