Author Topic: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File  (Read 4339 times)

Jaydeep Mehta

  • Guest
APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« on: December 13, 2017, 05:10:37 AM »

HI All,

We are trying to load Line File into CMOD system .
we are using ACIF indexer but we getting below error  , I think in file there is hidden CC thatwhy we facing that issue , anyone having any idea how we can fix this .


APK346W DATA IN AN INPUT RECORD OR PAGEDEF RESOURCE IS INVALID: A SKIP TO A NONEXISTENT CHANNEL = 'F1'X ON RECORD NUMBER = 1 WAS DETECTED WITHIN THE LND STRUCTURED FIELDS.  OUTPUT WAS FORCED TO SINGLE SPACING, WHICH MAY CAUSE BLANK PAGES.



Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #1 on: December 13, 2017, 07:19:34 AM »
Hmmm -

https://www.ibm.com/support/knowledgecenter/en/SSQHWE_10.1.0/com.ibm.ondemand.messages.doc/dodk0346.htm

Quote
DATA IN AN INPUT RECORD OR PAGEDEF RESOURCE IS INVALID: A SKIP TO A NONEXISTENT CHANNEL = channel ON RECORD NUMBER = recordnumber WAS DETECTED WITHIN THE LND STRUCTURED FIELDS. OUTPUT WAS FORCED TO SINGLE SPACING, WHICH MAY CAUSE BLANK PAGES.
 
An attempt was made to skip to a channel not defined in the current data map. The Line Descriptor (LND) structured fields in the page definition are incorrect. During scanning, the entire NEXT LINE DESCRIPTOR IF SKIPPING parameter could not be followed because an LND had the End Page If Skipping flag set. This created an infinite loop on the same input record. The LND structured field is contained in the page definition.


The record containing the error was forced to single spacing. When forced single spacing occurs, the carriage control character on the record is ignored.

The record is treated as if a X'09' machine control character or a X'40' ANSI control character was specified in the record that caused the error.

If an IBM® licensed program was used to create the structured fields for the page definition with the error, verify that the input to that program was valid.

If the input was valid, refer to Advanced Function Presentation: Diagnosis Guide for assistance in determining the source of the problem.

If you created the structured fields for the page definition, correct the error and resubmit the print request. Refer to Advanced Function Presentation: Programming Guide and Line Data Reference for more information about the structured field. If the structured field has no error, the error might be an ACIF logic error.

If you used a program to create the structured fields for the page definition, contact your system programmer.

First question is are you running with the INPUT exit ARSSPVIN?

I also recommend you follow the steps here:

http://www.odusergroup.org/forums/index.php?topic=2214.msg8527#msg8527

1. Does arsafpd say anything about the input AFP file?

2. Try indexing the file outside of CMOD. 

Ed
« Last Edit: December 13, 2017, 12:39:13 PM by Ed_Arnold »
#zOS #ODF

Jaydeep Mehta

  • Guest
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #2 on: December 13, 2017, 11:17:52 PM »
HI ED,

Thanks for update .

we not using any input exits  also it is Line file not a AFP file .
Indexing we able to do outside the CMOD and it is correct .

but we not able to identify CC inside the file.

azkhan

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #3 on: December 14, 2017, 03:40:43 AM »
Hi Jaydeep,

Neither FORMDEF nor PAGEDEF are required for line data run with the CONVERT=NO option.

Please can you check your indexer configuration as,
CC=YES
CCTYPE=A
CONVERT=NO
CPGID=500
MCF2REF=CPCS
TRC=NO
FILEFORMAT=RECORD,133
TRIGGER1=xxxxxxx,(TYPE=GROUP)
UNIQUEBNGS=YES
IMAGEOUT=ASIS
INDEXOBJ=ALL
INDEXSTARTBY=1
RESTYPE=NONE

Jaydeep Mehta

  • Guest
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #4 on: December 14, 2017, 03:49:21 AM »
Hi Khan,

Thanks for update .

when we set it give us APK448S INDEXING WAS REQUESTED, BUT NO GROUP 'TRIGGERn' NOR ANY 'FIELD' BASED ON IT WAS SATISFIED WITHIN THE PAGE RANGE SPECIFIED BY THE INDEXSTARTBY PARAMETER.
 error.

and when we set


CC=NO
CCTYPE=A
CONVERT=NO
CPGID=500
MCF2REF=CF
TRC=NO
FILEFORMAT=RECORD,133
TRIGGER1=*,121,X'D7C1C7C54040404040404040F1',(TYPE=GROUP)      /* PAGE        1 */
FIELD1=0,-12,10,(TRIGGER=1,BASE=TRIGGER)
INDEX1=X'D985979699A3C481A385',FIELD1,(TYPE=GROUP,BREAK=YES)   /* ReportDate    */
FIELD2=X'F0',(TRIGGER=1,BASE=TRIGGER)
INDEX2=X'D385878183A8C49683A4948595A3C9C4',FIELD2,(TYPE=GROUP,BREAK=YES)   /* LegacyDocumentID  */
DCFPAGENAMES=NO
UNIQUEBNGS=YES
IMAGEOUT=ASIS
INDEXOBJ=ALL
INDEXSTARTBY=0
INSERTIMM=NO
RESTYPE=ALL
INPEXIT=/installable/IBM/ondemand/V10.1/exits/acif/asciinpe


 Indexing completed
 ARS4312I Loading started, 269474 bytes to process
 ARS1146I Loaded 0 rows into the database
 ARS4311E Loading failed

please suggest

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #5 on: December 14, 2017, 08:25:23 AM »
Can you try a different trigger.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #6 on: December 15, 2017, 06:41:18 AM »
Looks to me like you are using an input exit based on the sample you provided:

INPEXIT=/installable/IBM/ondemand/V10.1/exits/acif/asciinpe


Jaydeep Mehta

  • Guest
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #7 on: December 19, 2017, 01:52:18 AM »
Hi Greg,

Yes we are using the exit bcz without the exist it give us
APK346W DATA IN AN INPUT RECORD OR PAGEDEF RESOURCE IS INVALID: A SKIP TO A NONEXISTENT CHANNEL = 'F1'X ON RECORD NUMBER = 1 WAS DETECTED WITHIN THE LND STRUCTURED FIELDS.  OUTPUT WAS FORCED TO SINGLE SPACING, WHICH MAY CAUSE BLANK PAGES.

that error , still we don't have any luck .

Jaydeep Mehta

  • Guest
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #8 on: December 21, 2017, 09:53:09 PM »
Hi All,

Using the OS/390 Indexer I am able to load file and no need to use of user exit .
Os/390 work with Carriage control

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: APK346W PAGEDEF RESOURCE IS INVALID Error on Line File
« Reply #9 on: December 26, 2017, 08:47:35 AM »
Thank you for posting your solution.

Ed
#zOS #ODF