Solved

mfsort for COBOL microfocus's utility error - Status = 9/139

Posted on 2013-10-28
1
1,537 Views
Last Modified: 2013-10-29
Hello,

I have a little issue with mfsort (COBOL) utility.

Here is the code (in UNIX OS) :

SORTIN=£FI
    export SORTIN
SORTOUT=$TMP/T120OUT."$nupro"
    export SORTOUT

echo "SIGN-EBCDIC
SORT FIELDS (
00005,00009,CH,A,
00014,00050,CH,A,
00064,00020,CH,A)
RECORD (V, 4,4004)
USE $SORTIN ORG (SQ) RECORD (V,4,4004)
GIVE $SORTOUT ORG (SQ) RECORD (V,4,4004)
" 1>$TMP/NRB120."$nupro"
mfsort take $TMP/NRB120."$nupro"
    CODE_RETOUR=$?
    unset SORTIN
    unset SORTOUT
    rm $TMP/NRB120*."$nupro"

Input file is BORD_GEL_ZZZ_Suppr has only one line :
000000000GEL         ZZZ               0                                       *EZO00                      A0

Output Error is :
SORT013U: I/O error on dataset '/opt/hrdev/file/BORD_GEL_ZZZ_Suppr'
SORT014U: Status = 9/139
SORT020U: SORT(EXTSM) failed - sort engine status = 9/139

What's wrong in mfsort parameters ?

Thanks for your feedback.

papfal
0
Comment
Question by:papfal
1 Comment
 
LVL 57

Accepted Solution

by:
giltjr earned 300 total points
ID: 39607617
Well, doing a simple Google Search on

SORT020U: SORT(EXTSM) failed - sort engine status = 9/139


Returned:

http://documentation.microfocus.com:8080/help/index.jsp?topic=%2Fcom.microfocus.eclipse.help.windows%2Fhtml%2Frhsort0d.htm

Which pointed me to:
http://documentation.microfocus.com:8080/help/index.jsp?topic=%2Fcom.microfocus.eclipse.help.windows%2Fhtml%2Frhsort0d.htm

When then pointed me to:

http://documentation.microfocus.com:8080/help/topic/com.microfocus.eclipse.help.windows/html/rhfsta02.htm

Which in turn pointed me to:


http://documentation.microfocus.com:8080/help/topic/com.microfocus.eclipse.help.windows/html/rhrerr01.htm

Which pointed me to:

http://documentation.microfocus.com:8080/help/topic/com.microfocus.eclipse.help.windows/html/rhrerr2s.htm

Which resulted in:

COBRT139 Record length or key data inconsistency (Recoverable)

A discrepancy exists between the length of a record, or the keys which you have specified, in your current program and its definition in the program in which it was first opened.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Log File Creation with Header and Footer 17 130
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 56
linux SFTP 8 63
linux 13 77
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question