IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DSNH006I DSNHPSRV FILE "DBRMLIB " COULD NOT BE O


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Midhun Mohandas

New User


Joined: 03 Mar 2014
Posts: 24
Location: India

PostPosted: Tue Mar 18, 2014 4:05 pm
Reply with quote

Hi all,

I am trying to compile a cobol-db2 program under OMVS, and I am getting following error.

"
IGYOS4081-U DSNH006I DSNHPSRV FILE "DBRMLIB " COULD NOT BE OPENED.
"

It is shown that DBRM Library cannot be opened. But I do not know how to create a DBRM Library under OMVS and even if I create a file called "DBRMLIB" under OMVS how can the compiler identifies that it is DBRMLIB ?

Do I need to export DBRM Library from MVS ?

If I have to export it, then where should I export it?

Please help me in solving the issue...
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Mar 19, 2014 4:24 am
Reply with quote

Ask your site support for the process that should be used at your site.
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Wed Mar 19, 2014 10:08 am
Reply with quote

Midhun Mohandas wrote:
But I do not know how to create a DBRM Library under OMVS and even if I create a file called "DBRMLIB" under OMVS how can the compiler identifies that it is DBRMLIB ?


In your compile JCL, under the program compile step(EXEC PGM=IGYCRCTL) there will be a DBRMLIB(ddname) DD statement , if your program is Cobol-DB2. Find which dataset is assigned to DBRRMLIB dd.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 19, 2014 6:30 pm
Reply with quote

Hello,

Why do you want to do this under OMVS?

Just curious as none of our db2 compiles are compiled under OMVS.

In your OMVS environment is there standard compile JCL? And are you using it? There should be and you should use it - not create your own . . .
Back to top
View user's profile Send private message
Midhun Mohandas

New User


Joined: 03 Mar 2014
Posts: 24
Location: India

PostPosted: Thu Mar 20, 2014 8:39 am
Reply with quote

Hi dick scherrer,

In OMVS I am not using any compile JCLs and instead of that I am using a command "cob2", which is used to compile a cobol program under OMVS.

The cobol program is converted to a .cbl file and exported to OMVS region, then compiled using OMVS 'cob2 command'.

I hope you are clear with your doubt. Now could you please answer my question.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Mar 20, 2014 6:54 pm
Reply with quote

Does your cob2 command compile cobol/db2 programs? Check with your support to determine this and to find out how to invoke the command correctly - maybe there are options that you are not specifying?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 20, 2014 7:00 pm
Reply with quote

Hello,

Quote:
I hope you are clear with your doubt
No, as you didn't answer my question as to Why you are compiling in OMVS.

I suspect cob2 is a script (what unix uses instead of jcl).

Suggest you speak with whoever supports cob2 and make sure you are using it correctly.

If you have one of these that is working, compare the successful invocation against the problem run.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top