View previous topic :: View next topic
|
Author |
Message |
alamelu1984
New User
Joined: 20 Apr 2007 Posts: 40 Location: bangalore
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Are you permitted to use a SPA at your installation? I would use linkage. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
alamelu1984
New User
Joined: 20 Apr 2007 Posts: 40 Location: bangalore
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
alamelu1984
New User
Joined: 20 Apr 2007 Posts: 40 Location: bangalore
|
|
|
|
thank you for your inputs sandy |
|
Back to top |
|
|
|