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

Help regarding SPA Size in IMs online screens


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

New User


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

PostPosted: Mon Jan 09, 2012 4:00 pm
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
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

Moderator Emeritus


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

PostPosted: Tue Jan 10, 2012 1:00 am
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: 93
Location: chenna/i-

PostPosted: Tue Jan 10, 2012 3:08 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Underscore was not populated to onlin... CICS 1
No new posts Trying to change copybook in online c... CICS 4
No new posts Batch call online program, EXCI task ... CICS 3
Search our Forums:

Back to Top