Compiler option INVDATA is not working on COBOL6.3



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Compiler option INVDATA is not working on COBOL6.3

Postby Misha786 » Fri Apr 22, 2022 5:35 pm

Hello -
I was trying to use compiler option INVDATA while compiling my cobol program using COBOL 6.3 compiler
I referred IBM document(i.e https://www.ibm.com/docs/en/cobol-zos/6.3?topic=options-invdata ) and accordingly here is what I tried in vain. I might be missing something or not using it correctly. Please let me know if anyone knows how to use it successfully



DIT    TUCOMP63 (JOB07678) JCLEDIT                   Column
d ===>                                                  Scr
 //*                                                      
 //COBOL  EXEC PGM=IGYCRCTL,REGION=0M,                    
 // PARM='NUMPROC(NOPFD),INVDATA(FORCENUMCMP,NOCLEANSIGN)'
 //STEPLIB  DD  DSNAME=SYS1.ADCOB.V6R3M0.SIGYCOMP,DISP=SHR
 //*TEPLIB  DD  DSNAME=SYS1.ADCOB.LINKLIB,DISP=SHR        
 //         DD  DSNAME=SYS1.SCEERUN,DISP=SHR              
 //         DD  DSNAME=SYS1.SCEERUN2,DISP=SHR              
 //SYSIN    DD  DSN=TU.C11T.COB63.SRCE(TUZCTEST),DISP=SHR  
 //SYSLIB   DD  DSN=TU.C11P.MACLIB,DISP=SHR                
 //SYSPRINT DD  SYSOUT=*                                  
 //SYSLIN   DD  DSNAME=TU.C11T.COB63.LOADSET,UNIT=SYSALLDA,
 


Error logs

 ------------------------------------------------------------------------------
 SDSF OUTPUT DISPLAY TUCOMP63 JOB07678  DSID   103 LINE 0       COLUMNS 02- 81
 COMMAND INPUT ===>                                            SCROLL ===> CSR
********************************* TOP OF DATA *********************************
PP 5655-EC6 IBM Enterprise COBOL for z/OS  6.3.0 P201119                 Date 0
Invocation parameters:                                                        
 NUMPROC(NOPFD),INVDATA(FORCENUMCMP,NOCLEANSIGN)                              
                                                                               
        IGYOS4003-E   Invalid option "INVDATA(FORCENUMCMP,NOCLEAN..." was found
                                                                               
PROCESS(CBL) statements:                                                      
 CBL ARITH(EXTEND)                                                            
Options in effect:                                                            
 NOADATA                                                                      
 
Misha786
 
Posts: 31
Joined: Fri Nov 27, 2020 12:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler option INVDATA is not working on COBOL6.3

Postby Robert Sample » Fri Apr 22, 2022 7:15 pm

From the Enterprise COBOL for z/OS 6.3 Programming Guide manual:
If you're migrating from COBOL V4 or earlier versions and used NUMPROC(NOPFD) with COBOL
V4, use INVDATA(NOFORCENUMCMP,CLEANSIGN) (or simply INVDATA) and NUMPROC(NOPFD) with
COBOL V6.
Have you tried the manual recommendation of
NUMPROC(NOPFD),INVDATA(NOFORCENUMCMP,CLEANSIGN)
?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Compiler option INVDATA is not working on COBOL6.3

Postby Misha786 » Fri Apr 22, 2022 9:18 pm

Yes Robert tried that ( i.e. INVDATA(NOFORCENUMCMP,CLEANSIGN) ) too. But same error message.

 SDSF OUTPUT DISPLAY TUCOMP63 JOB16760  DSID   103 LINE 0       COLUMNS 02- 81
 COMMAND INPUT ===>                                            SCROLL ===> CSR
********************************* TOP OF DATA *********************************
PP 5655-EC6 IBM Enterprise COBOL for z/OS  6.3.0 P201119                 Date 0
Invocation parameters:                                                        
 NUMPROC(NOPFD),INVDATA(NOFORCENUMCMP,CLEANSIGN)                              
                                                                               
        IGYOS4003-E   Invalid option "INVDATA(NOFORCENUMCMP,CLEAN..." was found
                                                                               
PROCESS(CBL) statements:                                                      
 CBL ARITH(EXTEND)                                                            
 
Misha786
 
Posts: 31
Joined: Fri Nov 27, 2020 12:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler option INVDATA is not working on COBOL6.3

Postby Robert Sample » Fri Apr 22, 2022 9:21 pm

It sounds like its time to open a problem with IBM then.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Compiler option INVDATA is not working on COBOL6.3

Postby Misha786 » Mon Apr 25, 2022 4:35 pm

Hi Robert
I was thinking the same but before raising a tkt with IBM help, I tested the same in another LPAR and to my surprise it worked in that.
So, now I am a bit confused what should be done because it is working in on one LPAR and not in another. Both of these are PROD lpars used by client.
Might be a good idea to contact both ZOS support team and IBM cobol support team. Any suggestion is always welcome.
Misha786
 
Posts: 31
Joined: Fri Nov 27, 2020 12:28 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post