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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: 64 bit C program with OMP option enabled - Execution in ZOS
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    Post subject:
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: 1715
Location: UK

PostPosted: Thu Sep 25, 2014 5:47 pm    Post subject: Reply to: 64 bit C program with OMP option enabled - Executi
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Sep 25, 2014 5:48 pm    Post subject: Reply to: 64 bit C program with OMP option enabled - Executi
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: 645
Location: Pennsylvania

PostPosted: Thu Sep 25, 2014 5:48 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Thu Sep 25, 2014 8:55 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Sun Sep 28, 2014 12:19 pm    Post subject: Reply to: 64 bit C program with OMP option enabled - Executi
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm


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