Category: IMS and IMS-TP macros.
An attributed field within a repeated block is missing the subscript for that field.
Ensure that you code the subscript for the attributed field.
You coded an attributed field with a subscript and that field is not part of a repeated block.
Remove the subscript.
The coded field name is invalid for the named screen.
Check the spelling of the field name.
You did not supply the screen name when:
Supply the screen name.
When setting attributes ($TP-ATTR), you did not supply the attribute.
Supply the attributes you want to set.
When setting attributes ($TP-ATTR), you did not supply the field name.
Supply the field name(s) you want to attribute.
The attribute table in APIMSTP does not contain the combination of the values given.
Contact your APS Administrator. Attribute table needs updating.
The keyword PREV or PREVIOUS is invalid when accessing an IMS database.
Correct the call by removing the keyword PREV.
Attribute given is invalid.
Check the spelling of the attribute.
APS does not allow the command for GSAM records.
The command is either a DB-MODIFY or DB-ERASE, both of which are invalid for GSAM. Remove the command.
You can only specify a single record in the call when accessing a GSAM database.
Correct the call by specifying only one record for processing.
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.
If you use any of the above extended attributes, be aware that they have no effect in PCIMS.
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.
Code different field names for the SYSMSG and TC fields if the target is PCIMS.
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.
Code different field names for the SYSMSG and TC fields if the target is PCIMS.
You coded more than 400 fields for one screen, exceeding the limit for PCIMS.
Limit number of screen fields to 400 or under, if the target is PCIMS.
You can only qualify the record on one key when accessing a GSAM database.
Correct the call by specifying only one field qualification.
You must use the dummy field, GSAM-KEY, when qualifying on a GSAM record.
Correct the call by specifying GSAM-KEY as the key.
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.
Consult with the Database Administrator to determine appropriate processing options for the record in question.
You did not specify a view name in the call, so the View has defaulted.
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.
You coded a DB-OBTAIN coded for a record and the PCB does not allow retrievals.
Consult with Database Administrator to determine appropriate processing options for the record in question.
You coded a DB-STORE coded for a record and the PCB does not allow inserts.
Consult with Database Administrator to determine appropriate processing options for the record in question.
You coded a DB-MODIFY for a record and the PCB does not allow updates.
Consult with the Database Administrator to determine appropriate processing options for the record in question.
You coded a DB-ERASE for a record and the PCB does not allow deletes.
Consult with the Database Administrator to determine appropriate processing options for the record in question.
You requested a record in a path call, and the procopt does not allow path calls.
Consult with the Database Administrator to determine appropriate processing options for the record in question.
For a DB-OBTAIN, APS referenced the lowest level record; data not retrieved.
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.
For a DB-OBTAIN, APS may not reference the lowest level record unless it is key sensitive.
Correct the call by preceding the lowest level record specified in the call by the keyword, REC.
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.
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.
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.
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.
The number of command codes generated exceeds the limit of five.
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.
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.
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.
You cannot specify the record in a path call because the logical child portion is a variable length.
Remove the named record from the path call.
The FMP flag, &IM-SUPPRESS-DB-CALL, set. It suppresses the database call.
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.
The key specified in the call is invalid for the record.
The named key is unknown for the named record. Check spelling of the key name.
APS does not recognize the specified record name as a valid COBOL record name.
In a subschema where there are DLI and VSAM records, APS cannot determine the type of record. Check the spelling of the named record.
You did not give a PCB name the call and APS cannot use the default because the record name is incorrect.
Check the spelling of the named record.
The PCB name specified in the call is incorrect.
Check the spelling of the named View (PCB).
The record name specified in the call is incorrect.
Check the spelling of the named record.
The records specified in the call are not in the correct hierarchy.
Correct the call so that the specified records are in the proper hierarchical order.
APS produces this message if you coded any of the following system service calls: IM-STAT, IM-ROLL, IM-ROLB, and IM-LOG.
Do not code the above system service calls if the target is PCIMS.
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.
Do not code a record search argument on the above GSAM calls if the target is PCIMS.
APS invoked the $TP-MSG-SW macro and detected that the first parameter is missing or contains nulls.
Code the program name or transaction ID as the first parameter in the macro.
APS invoked $TP-CHNG-TO-DEST and detected that there is no alternate PCB defined.
Correct the PSB to define an alternate PCB. It may be necessary to contact your APS Administrator.
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:
Note: If you want TP-MSG-SW to reference an alternate IO PCB, you must define that PCB with EXPRESS=NO and MODIFY=YES.
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.
You did not invoke $IM-PSB or $DB-SUBSCHEMA.
All IMS programs must invoke either $IM-PSB or $DB-SUBSCHEMA as the first macro in the program.
The Data Definition symbols contain DB2 references.
Micro Focus's IMSVS86 does not support DB2. Remove references to DB2.
You invoked $TP-ENTRY from the wrong column.
Make sure that you coded $TP-ENTRY in COBOL AREA-A, which is between columns 8 and 11 inclusive.
You invoked $TP-SEND-LAST macro. APS replaced this macro with $TP-SEND.
Use $TP-SEND instead of $TP-SEND-LAST. Code the keyword ENDCONV because you used a SPA.
You invoked $TP-SEND-LAST macro. APS replaced this macro with $TP-SEND.
Use $TP-SEND instead of $TP-SEND-LAST.
The named keyword is invalid.
Check the spelling of the keyword.
APS invoked $TP-SEND and the first parameter is missing or contains nulls.
Code the screen name as the first parameter in the macro.
You invoked $TP-XCTL. APS replaced this macro by $TP-MSG-SW for IMS programs.
Use $TP-MSG-SW instead of $TP-XCTL.
The TP-SCRNLIST command detected a keyword as the first parameter. Keyword parameters must follow one or more screen names.
Correct the command, reviewing documentation as necessary.
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.
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.
The TP-SCRNLIST command detected the RECORD keyword. RECORD is not a valid parameter for TP-SCRNLIST.
Correct command, reviewing documentation as necessary.
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.
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.
You included the macro library member APIMSTP before the member APMDCSC.
Contact your APS Administrator. The problem is probably within the JCL stream.
You included the macro library member, APIMSTP, twice.
Contact your APS Administrator. The problem is probably within the JCL stream.
APS invoked the macro $TP-LINKAGE more than once.
Code $TP-LINKAGE only once in the program.
APS invoked the macro $TP-LINKAGE after $TP-ENTRY.
Code $TP-LINKAGE before coding $TP-ENTRY.
You compiled a program with the MDC set to IMS/DC but APS did not encounter TP-ENTRY.
Correct input and resubmit; either change the target to batch or use the ENTRY keyword.
APS encountered $TP-ENTRY, followed by $TP-SCRNLIST.
Change the order of the macros so that $TP-SCRNLIST appears first.
Only one invocation of TP-SCRNLIST is valid.
Delete extraneous TP-SCRNLIST(s).
Only one SPA Keyword allowed per $TP-SCRNLIST.
Delete extraneous *NOSPA(s).
The screen symbols for the named screen are missing.
Contact your APS Administrator.
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.
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.