Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1932
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: 1932
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us