Skip to main content

Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Hi Mukesh,

It appears you are moving from Server Express 5.0 to Server Express 5.1 Has the batch program getting this error been recompiled under the newer version of Server Express? What kind of executable file (.int, gnt, native executable, etc.) is in use?

Also, you may want to review the following Micro Focus Knowledge Base article, which describes one possible reason for this error:

community.microfocus.com/.../6216.114-attempt-to-access-item-beyond-bounds-of-memory.aspx


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Yes we are moving from Server Express 5.0 to 5.1. Yes the batch program has been recompiled in Server Express 5.1 . And the executable is gnt.  Actually the GNT is calling the  CPP program function which is invoking EXTSM .


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Thanks for the update. As suggested in the Knowledge Base article I posted before, a common reason for this error is some disagreement related to the record sizes of files involved in the sort. I've also seen this error when the actual file contains some records that do not match the record length specified in the FD.

If these do not turn out to be the cause, I would suggest that you open a Support Incident with Micro Focus Customer Care about this issue, so that we can further investigate this issue.


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Thanks for your response.

I have verified the record length and it looks fine.However when we ran with gdb utility we have seen the following trace:

Program received signal SIGSEGV, Segmentation fault

 si_code: 2 - SEGV_ACCERR - Invalid Permissions for object.

[Switching to thread 2 (system thread 5698371)]

0x1ffffffffa3b1e40:0 in memmove 0x320 () from /usr/lib/hpux64/libc.so.1

(gdb) bt

#0  0x1ffffffffa3b1e40:0 in memmove 0x320 () from /usr/lib/hpux64/libc.so.1

#1  0x1ffffffff94974b0:0 in EXTSM 0x5d30 ()

  from /opt/microfocus/cobol5.1/lib/cobextsm64.so.2

#2  0x400000000013b7c0:0 in LargeFile::Sort () at largefile.cpp:1258

#3  0x400000000013b280:0 in SortLargeFile () at largefile.cpp:1433

It is saying invalid permission for object as shown above while executing EXTSM.

Do you have any idea on this? Please help me in resolving this issue and provide your comment.


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Since you have also updated to HP-UX B.11.31, have you recompiled largefile.cpp and relinked it to the COBOL program?


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Since you have also updated to HP-UX B.11.31, have you recompiled largefile.cpp and relinked it to the COBOL program?


Hi,

one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having  HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1

 

Did anybody encountered similar issue, your suggestion will be highly appreciated.

 

Mukesh

 

 

Hi Dewamigo,

Yes we have recompiled and re-linked but still its failing.

I did not got any clue so far.