Page 1 of 1

SCLM With COBOL6

PostPosted: Thu Mar 23, 2017 4:13 pm
by kisgalgo
I have to build in the SCLM the COBOL6 compiler. Started the compile, I've got an DB2-SQL precompiler error,
DB2 SQL PRECOMPILER VERSION 11 REL. 1.0
DSNH005I U DSNHMAIN FILE "DB2TRAN " NO MEMBER NAME SPECIFIED
DB2 SQL PRECOMPILER STATISTICS
I checked the CICS parameters, and I've found the alloc for the DB2TRAN, but the process didn't find it. I've found in some ducumentation, the DB2tran needs the member name to, tried some forms, it but didn't work.
Can somebody to help me, how do I have to change and what.

The DB2TRAN Alloc:
FLMALLOC IOTYPE=W,RECFM=FB,LRECL=80, C
RECNUM=90000,DDNAME=DB2TRAN,MEMBER=@@FLMMBR

Thank you in advance
Have a nice day
kisgalgo

Re: SCLM With COBOL6

PostPosted: Thu Mar 23, 2017 5:32 pm
by NicC
The message is saying that your source code does not name a member-name specified in the source or wherever the pre-compile is looking. Did you provide a member name in SCLM panels or the JCL?

Re: SCLM With COBOL6

PostPosted: Thu Jul 27, 2017 10:54 pm
by saara
I am using HERCULES which I have installed on my personal computer with Windows.
I have found the error, I have declared the cursor name wrong.

Re: SCLM With COBOL6

PostPosted: Thu Jul 27, 2017 11:48 pm
by prino
saara wrote:I am using HERCULES which I have installed on my personal computer with Windows.
I have found the error, I have declared the cursor name wrong.

No, the error is that you've posted a load of irrelevant cr#p in a thread that has nothing to do with the irrelevant cr#p you posted!

Re: SCLM With COBOL6

PostPosted: Fri Jul 28, 2017 2:02 am
by Robert Sample
I am using HERCULES which I have installed on my personal computer with Windows.
To me, it is impressive the number of people who tell the world they are doing something illegal. Enterprise COBOL 6 requires z/OS 2.1 and IBM does not license z/OS for Hercules. saara, you have provided IBM all the information IBM needs to come after you for legal sanctions. Even if you have a zPDT system and transported the operating system to Hercules, you have violated the IBM copyright as well as license conditions.