Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DSNH006I DSNHPSRV FILE "DBRMLIB " COULD NOT BE O

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: DSNH006I DSNHPSRV FILE "DBRMLIB " COULD NOT BE O
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: 1712
Location: UK

PostPosted: Wed Mar 19, 2014 4:24 am    Post subject: Reply to: DSNH006I DSNHPSRV FILE "DBRMLIB " COUL
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    Post subject: Re: DSNH006I DSNHPSRV FILE "DBRMLIB " COULD NOT
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

Site Director


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

PostPosted: Wed Mar 19, 2014 6:30 pm    Post subject:
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    Post subject: DBRMLIB cannot be opened while compiling in OMVS
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: 1712
Location: UK

PostPosted: Thu Mar 20, 2014 6:54 pm    Post subject: Reply to: DSNH006I DSNHPSRV FILE "DBRMLIB " COUL
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

Site Director


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

PostPosted: Thu Mar 20, 2014 7:00 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us