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

64 bit C program with OMP option enabled - Execution in ZOS


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Thu Sep 25, 2014 3:00 pm
Reply with quote

Hi -
I am trying to execute the C program with OMP option enabled in the ZOS environment enables. I am getting the error message "IEW2456E 9207 SYMBOL _xlsmpParRegionSetup_TPO UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL
LIBRARY.
"
I am not able debug this and need help.

Please find the below program and spool result as attachment.

Program
U124514.C.SRCLIB(SAMPLE02) - 01.11
===>
***************************** Top of Da
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <omp.h>
#include <omp.h>
void main()
{
#pragma omp parallel
{
printf("Hello world\n");
}
Back to top
View user's profile Send private message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Thu Sep 25, 2014 4:42 pm
Reply with quote

Hi -
I didn't get any response. Please respond.
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 Sep 25, 2014 5:47 pm
Reply with quote

You did not get any response for many reasons:
1) You waited only 2 hours and most of the people who could possibly help were in a different timezone to you and would probably be sleeping
2) it is a C question and you posted in the COBOL section of the forum
3) You have already posted this elsewhere - the response will be the same: find out where the missing module is and include that in your binder step. If you cannot find out yourself then get your support group or colloeagues to help you
4) The people who help on the forum do so on a voluntary basis, for free and if they are interested. If you want quick response then pay someone for their assistance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 25, 2014 5:48 pm
Reply with quote

Quote:
Please respond.


people answer on their own time, free of charge
when and if they feel like

soliciting for an answer - just after 2 hours from the original question -
will probably put Your questions in the ignore list
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Sep 25, 2014 5:48 pm
Reply with quote

I was very late to this pile on party.....

What exactly is your expectation of this forum?

What response time do you expect from the members?

How much C program with OMP option enabled in the ZOS environment enables expertise do you think is out there?

Do you feel as though asking for a response after only 1:45 is rude? (no smiley faces please).
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Thu Sep 25, 2014 8:55 pm
Reply with quote

Also, Enrico's signature that says gives answers to most of our concers/issues;I learned so far many things by simply following that and it helps preventing asking the repetative questions.
This is the snapshot .e.g. which you could have also got.
Code:


IEW2456E

SYMBOL symbol UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY. [NAME SPACE = name-space]


Explanation:

The 'symbol' displayed is not a member name in SYSLIB or in the designated call library, or errors were encountered when attempting to include the module. The symbol remains unresolved.

Name space indicates the type of external symbol being referenced, and can have one of these values:
1.normal external names
2.pseudo register names
3.parts (usually external data items such as data items in C writable static)

Name space will not be printed if its value is 1.


System action:

Processing continues.


User response:

Correct the reference or make the missing entry available to the binder by (1) adding the member to SYSLIB, (2) adding an alias of that name to an existing member, (3) INCLUDEing a module which contains the missing entry point, (4) providing a LIBRARY control statement to direct the binder to a different library during autocall processing, or (5) correct the source of the INCLUDE error.

Correct the symbol reference in the source program or make the missing entry available to the binder. Making the entry available can include any of the following:
1.Adding the name as an alias or member to in SYSLIB.
2. Providing an AUTOCALL control statement pointing to a library that can resolve the name.
3. INCLUDEing a module that contains the missing entry point
4.Providing a LIBRARY control statement to direct the binder to an additional library during final autocall processing.
5.Correcting an existing INCLUDE, AUTOCALL, or LIBRARY control statement.
6.If you are driving the binder from some other program, such as SMP/E or c89, you might need to correct or extend the library specifications you are providing to that program. If such a program generates AUTOCALL statements, they are applied before final autocall processing, and are not used recursively unless the library names are repeated.


Source:

Binder


Detecting Module:

IEWBBRBA
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun Sep 28, 2014 12:19 pm
Reply with quote

I miss a closing curly bracket "}" for your main block.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts SCOPE PENDING option -check data DB2 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts DB2 Event passed to the Application P... DB2 1
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top