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

Passing data from Natural to Cobol and vice-versa


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Tue Apr 29, 2008 7:05 pm
Reply with quote

Hi,

I have a CALL statement which is calling a Cobol program. I have to pass a parameter to COBOL program and after some logical preocessing on the parameter I have to pass the parameter back to Natural.

Could anyone know throw some light on this?

Is it the same way that we do in CALLNAT statement?


Thanks,
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Apr 30, 2008 12:50 pm
Reply with quote

The NATURAL CALL statement allows for up to 40 parameters to be passed to the called program. The called program may update the content of these variable, and you may use it when you back to your NATURAL program.

Please remember that there are some variances between platforms and address spaces (like between CICS and batch) when using the CALL statement. Consult the fine manual for more details.

O.
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top