What is file status 39 ?
Answers were Sorted based on User's Feedback
Answer / elite group
File attribute mismatch...
The LRECL defined in the program is different whatever
given in the JCL
| Is This Answer Correct ? | 44 Yes | 1 No |
Answer / ananta
logical error in file mismatch
like blksize mismatch, lrecl mismatch , recfm mismatch
| Is This Answer Correct ? | 14 Yes | 3 No |
Answer / anil prajapati
blksize is not multiple of record length and the
description of these in jcl is different from cobol
| Is This Answer Correct ? | 13 Yes | 6 No |
Answer / vijay kulkarni
File length mismatch(in prog and jcl) and file open error
| Is This Answer Correct ? | 13 Yes | 6 No |
Answer / santosh
one of the reasons of file status 39 is file attribute
mismatch
LRECL mentioned in JCL is different than the one mentioned
in COBOL
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / shyam
File length mismatch and file open error (in cobol prog)
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / vijay gund
A conflict has been detected between the fixed file
attributes and the attributes specified for the file in the
program.
This is usually caused by a conflict with record-length,
key-length, key-position or file organization.
Other possible causes are:
1. Alternate indexes are incorrectly defined.
2. The Recording Mode is Variable or Fixed or not defined
the same as when the file was created
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rahul joshi
AIX IS MISMATCHED.
RECORDING MODE IS VARIBLE,FIXED OR NOT DEFINED WHEN CREATED EARLIER.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rumki
If the load is not correct then also repeatedly file
attribute mismatch will come. I just deleted the load and
then tried it...It worked fine.
| Is This Answer Correct ? | 0 Yes | 2 No |
what will happen if pass values more than 100 using PARM parameter?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
What is the use of LINKAGE SECTION?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
sample code for read a 2nd record from last in flatfile how can do?
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
what are the working storage fields in BMS macro?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
How to display the index.(displacement from an array)