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
 

 

Help regarding SPA Size in IMs online screens

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
sivasaras

New User


Joined: 29 Sep 2007
Posts: 90
Location: chenna/i-

PostPosted: Mon Jan 09, 2012 4:00 pm    Post subject: Help regarding SPA Size in IMs online screens
Reply with quote

Hi,

In my online ims Screen for a Account Number it will display around 40 list of fields like FN,LN,MN,ADD,PH,MOB etc...

If we give this Acc358768543 in the screen it will display like

LN KUMAR
MN SUNDAR
FN SHYAM

now the issue is while pressing PF8 key to view the next screen it is getting abended with U220 and the screen is not able to display more than 26 components.

In a single display - 13 and second display = 26.

So i changed my program to accept the 40 components, but while displaying after 30 components it is displaying as numbers

instead of displaying like RD RESIDENCE it is displaying as 33 residence.

I have changed the SPA occurs to 40 times.

Please guide me to solve the issue.

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

Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Jan 09, 2012 8:48 pm    Post subject:
Reply with quote

In your program, where are the getting the value to output the two-byte prefix? Is it a table of some kind?

Also, which language is the code?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 10, 2012 1:00 am    Post subject:
Reply with quote

Hello,

This exact same question is posted on another forum (with several replies). From what we see there, the problem is most likely within the application, it is not some bad magic in ims. . .

One example:
Quote:
You posted that you changed the occurs to 40, but the code tests for SUB1 > 50


I believe someone in that organization has a better chance of helping after reviewing the code and the process at the time of the problem.

I've left this duplicate open as we may have more ims experience here. . . icon_cool.gif
Back to top
View user's profile Send private message
sivasaras

New User


Joined: 29 Sep 2007
Posts: 90
Location: chenna/i-

PostPosted: Tue Jan 10, 2012 3:08 pm    Post subject:
Reply with quote

Hi,

Yes the output value is from the table.

Thanks
siva
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Jan 10, 2012 8:19 pm    Post subject:
Reply with quote

OK, if your value is from the table, look at how the table is being referenced and how it is being loaded.

Chances are, the table is not being filled correctly before you are trying to use it.

There is one other thing that may be happening... if you are pressing enter to go from one screen to the next, you might be getting a new transaction from IMS for the second screen. Your program needs to be able to start in the middle. This is a more advanced concept, and is PROBABLY not what is happening, but I thought I'd throw it out there.
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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm


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