Author Topic: APK421S Error Attempting AFP to AIX Archive  (Read 3733 times)

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
APK421S Error Attempting AFP to AIX Archive
« on: April 04, 2017, 12:04:33 PM »
 Have an AFP "statement" file, which we index. File is small typical days, large on "month end". 2 to 4 Gb.
Actually already breaking the file up into 4 or 5 pieces. And this general size even month end usually works.

 Getting the following error, which may somehow be storage related. But the error message is sufficiently generic it doesn't confirm that. ACIF directories are empty, and 20 Gb.

ARS4315I Processing file >/download/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD<
ARS4334I Load Version <9.0.0.1>  Operating System <AIX> <6.1>  OS Userid <root>  Install Location </opt/IBM/ondemand/V9.0/>
ARS4335I Server Version <9.0.0.1>  Operating System <AIX> <6.1>  Database <DB2> <10.01.0002>
ARS4302I 04/04/17 10:39:47 -- Indexing started, 2730488513 bytes to process
APK415I CC=YES
APK415I CCTYPE=A
APK415I CONVERT=YES
APK415I CPGID=500
APK415I MCF2REF=CF
APK415I TRC=NO
APK415I FILEFORMAT=STREAM
APK415I DCFPAGENAMES=NO
APK415I UNIQUEBNGS=YES
APK415I IMAGEOUT=ASIS
APK415I INDEXOBJ=ALL
APK415I INDEXSTARTBY=1
APK415I INSERTIMM=NO
APK415I FORMDEF=F1A10110
APK415I PAGEDEF=P1PEO301
APK415I USERLIB=/home/resources
APK415I RESTYPE=FDEF
APK415I inputdd=/download/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD
APK415I outputdd=/arsacif/acif1/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD.out
APK415I indexdd=/arsacif/acif1/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD.ind
APK415I resobjdd=/arsacif/acif1/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD.res
APK421S AN ERROR OCCURRED WHILE ATTEMPTING TO CLOSE /arsacif/acif1/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD.out RETURN CODE 6.
APK423S AN ERROR OCCURRED WHILE ATTEMPTING TO WRITE /arsacif/acif1/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD.out RETURN CODE 12.
APK412I MODULE APKSRIAX HAS RETURNED WITH RETURN CODE 12.
APK423S AN ERROR OCCURRED WHILE ATTEMPTING TO WRITE OUTPUTDD RETURN CODE 12.
APK441I ACIF AT IM43P11 HAS COMPLETED ABNORMALLY WITH RETURN CODE 16.
ARS4309E 04/04/17 10:40:01 Indexing failed
ARS4318E Processing failed for file >/download/mvs.COMM_STMTS_ALL3.commckst.commckst.commckst.17094.085927.ARD<

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #1 on: April 04, 2017, 12:50:48 PM »
That is a healthy sized file:

>   2,730,488,513 bytes to process

Do you have enough space in the /arsacif/acif1/ directory to hold everything?

Ed
#zOS #ODF

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #2 on: April 05, 2017, 06:17:32 AM »
 Thanks Ed. I know you're more on the mainframe side, so thanks for responding.
ACIF available space is a suspicion, but the CMOD error message is sufficiently vague to not confirm that.
 ACIF directory (we have 4 total, but apparently it uses one) is an empty 20 Gb file, which on normal month ends is sufficient (there's a pre-processing step that carves up a larger file into smaller pieces that are consistent from month to month). The input AFP file is 2.6 Gb.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #3 on: April 05, 2017, 09:48:16 AM »
UNIX errno 12 is "out of space".  So increase the size of your temporary or processing directories.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #4 on: April 05, 2017, 10:33:27 AM »
 For heck of it, attempted to archive 2GB on our test system, which our ACIF is the same size 20Gb.
 But for some strange reason has realmem         8126464. Whereas on Production system Realmem         65011712.
 The APF statement file archived and indexed:
 Loaded 17603 rows into the database
 Document compression type used - OD77.  Bytes Stored = >1902230824< Rows = >17603

So thinking maybe the first error message APK421S Return Code 6 possibly is more specific diagnostics than the second message with Return Code 12.

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #5 on: April 06, 2017, 07:26:06 AM »
 My server team states I was misreading, and production server has much more memory available.
Back to needing to know more specifics on vague error message.
Worked on one system with the same amount of available ACIF space, didn't work on other (production) system.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #6 on: April 06, 2017, 12:27:50 PM »
In standard UNIX error numbers, error no 6 is "no such device or address"...

That probably doesn't help much though...  Maybe the file never existed because you were temporarily out of space?  Is this a recurring error?  Can you clean out your existing filesystems of any files that might be clogging up the works?  :)

-JD.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #7 on: April 12, 2017, 08:14:44 AM »
Initially started with a large AFP file. But now starting to crop up with large text files (large, being 1.5 Gb. But at the same time, 3 Gb index files will work.
 Attempted to archive text file that had a problem, manually with does not use ACIF directories, also fails with same error trying to close the file.
 So, would have to ask, what file system(s)? And why does the error message not point to something specific?
 Using the usual measuring displays, and navigating to local file system directories, don't see anything that sticks out.

jpdevin

  • Jr. Member
  • **
  • Posts: 18
    • View Profile
Re: APK421S Error Attempting AFP to AIX Archive
« Reply #8 on: April 12, 2017, 01:24:47 PM »
 Restarted CMOD and entire AIX server we run on, and initial results are promising in that 2 files that wouldn't work, now do.
Surmising even though the error message is severely lacking in useful information, may have been a buildup of fragemented memory or something, since server had been up for over a year.
 Web search of an unrelated AFP message for APK421S came up with one obscure hit for an AFP utility product referencing a memory error.