Solved

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

Posted on 2013-10-28
1
1,511 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mcrypt_create_iv() is deprecated 4 153
linux(debian) mouse poor performance 4 41
Backup Raspberri Pi over the netowrk to a Windows Share 5 42
LINUX backups with VEEAM 8 82
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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
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.

773 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