SCLM With COBOL6



IBM's flagship relational database management system

SCLM With COBOL6

Postby kisgalgo » Thu Mar 23, 2017 4:13 pm

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
kisgalgo
 
Posts: 1
Joined: Thu Mar 23, 2017 3:59 pm
Has thanked: 0 time
Been thanked: 0 time

Re: SCLM With COBOL6

 

Re: SCLM With COBOL6

Postby NicC » Thu Mar 23, 2017 5:32 pm

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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2677
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 102 times

Re: SCLM With COBOL6

Postby saara » Thu Jul 27, 2017 10:54 pm

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.
saara
 
Posts: 1
Joined: Thu Jul 27, 2017 10:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: SCLM With COBOL6

Postby prino » Thu Jul 27, 2017 11:48 pm

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!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 526
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 20 times

Re: SCLM With COBOL6

Postby Robert Sample » Fri Jul 28, 2017 2:02 am

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.
Robert Sample
Global moderator
 
Posts: 3345
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 219 times


Return to DB2