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

To call an ims subroutine


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Mon Aug 06, 2007 1:10 pm
Reply with quote

hi all,

I have a problem definition wherein:

1. I have an order-information screen from which on keying in pf9 i wud navigate to another customer-id selection list screen...
2.On selection of the customer-id there,and then keying in pf1 ,the selectd customer-id wud have to be inserted in the coressponding field in the order-information screen..


So for this,will i have to use SPA or can i accomplish this using the Linkage section and usual cobol call statements ?????

and also i am using cobol call stmts to call sub routines in ims...

ie. CALL SUBROUTINE USING link-section-var1,link-section-var2

will it work??
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Aug 07, 2007 4:58 am
Reply with quote

Are you permitted to use a SPA at your installation? I would use linkage.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Aug 07, 2007 5:02 am
Reply with quote

IMS is not like CICS. When you go back and forth between screens in IMS, you must insert the screen to the message que. You can do a subroutine, but what have you gained? Also, is this an existing procedure or are you designing and writing it?
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Tue Aug 07, 2007 10:23 am
Reply with quote

hi sandy,

thanx for the reply..
here in my application when a user keys in a particular id,then i want to be able to navigate from the first screen to another screen (say customer-list screen) and then list out all the customer ids that are equal to and greater than the id specified by the user in the first screen..
and then on selection of a particular id,the selected id needs to be inserted in a particular field in the first screen..

i have used ISRT calls to display the info on the screen..

for me to call this listing pgm from my first pgm,can i use just the linkage section variables and cobol call stmts and accomplish them???

and yeah SPA is allowed in my installation..


regards

aalu
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Aug 07, 2007 5:06 pm
Reply with quote

If your installation allows a SPA area, then you can pass the information back and forth in that. I would use linkage.
Back to top
View user's profile Send private message
alamelu1984

New User


Joined: 20 Apr 2007
Posts: 40
Location: bangalore

PostPosted: Tue Aug 07, 2007 5:20 pm
Reply with quote

thank you for your inputs sandy icon_smile.gif
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top