SCLM With COBOL6

IBM's flagship relational database management system
kisgalgo
Posts: 1
Joined: Thu Mar 23, 2017 3:59 pm
Skillset: TSO,MVS,COBOL,PLI,ASS,SCLM,REXX
Referer: From colleagues

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

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

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

saara
Posts: 1
Joined: Thu Jul 27, 2017 10:48 pm
Skillset: player
Referer: friend

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.

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

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

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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.


  • Similar Topics
    Replies
    Views
    Last post