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
 

 

To call an ims subroutine

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: To call an ims subroutine
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


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