Solved

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

Posted on 2013-10-28
1
1,451 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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now