Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ssorich

Pages: [1]
MP Server / APK423S error writing to home dir
« on: April 24, 2018, 09:43:10 AM »
I am getting : APK423S AN ERROR OCCURRED WHILE ATTEMPTING TO WRITE /home/cmodusr/.../../etc   when processing a large file.
I see that there are some "working" files being written to the home directory of the owning user's dir.

We cleaned some space and got the file processed, but I'd like to change the location where these working files are written.

Does anybody know if this is possible? If so, where would I make this config change?


MP Server / User exit in C - need advice
« on: October 05, 2017, 08:02:43 AM »
We already have an exit that changes all x00 to x20... I donlt know C language, but I am trying to change only the value in column1 to spaces instead of all characters... Is anybody familiar with how to change the code to do so? Thanks!

Here is the source:
#include "apkexits.h"                                                           

char *recordptr; /* pointer to record to be analyzed */
int recordlen; /* length of record to be analyzed */


   recordptr = exitstruc->record;
   recordlen = exitstruc->recordln;
   int cnt = 0;

   if(exitstruc->eof != INP_EOFLAG)

      for (cnt = 0; cnt < recordlen; cnt++ ) {
         if ((unsigned char) exitstruc->record[cnt] == 0x00) {
            exitstruc->record[cnt] = 0x20;

      exitstruc->request = INP_USE;

   return( 0 );

MP Server / Carriage control characters '-' and '0' supported?
« on: September 18, 2017, 06:52:05 AM »
I have many files coming to my MP 9.5 installation on Linux from a mainframe with FBA format/ ANSI carriage control. It appears that the '-' and '0' carriage controls are not supported(?). When I remove them it somehow works. Not sure if my removal process is somehow "fixing" the file, but it appears to already have valid line feeds etc. I can't believe that these carriage controls are not supported. I get this before I remove the carriage controls of '0' and '-' in 1st column. ARS1114E Unable to read from offset 0 for length 687080 from the file >/
Is there some exit that can help? Has anybody else dealt with this?

Pages: [1]