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

What is he MAX lenght of a field on IMS DC screen?


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

New User


Joined: 23 May 2009
Posts: 8
Location: Hyderabad

PostPosted: Wed Aug 05, 2009 12:30 pm
Reply with quote

Hi All,
I have doubt/question, please help me.
What is the maximum length that can be used for a field to accommodate on IMS screen?
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Wed Aug 05, 2009 7:09 pm
Reply with quote

Did you research? When you ask questions we need to know the practical application. You need to tell us whether the field is a protected literal, modifiable, etc.
Back to top
View user's profile Send private message
chowdhrykapildev

New User


Joined: 05 Aug 2009
Posts: 44
Location: Hyderabad

PostPosted: Thu Aug 06, 2009 10:29 am
Reply with quote

Hi Sandy,

Let me make it more clear.

Its an input field which is of length 130. Obviously, its gonna take 2 lines for the data to fit in the input field (as max length is 80).

Requirement: I need to enter data to a field in IMS DC screen which is of length 130. Can I know whether its possible to enter data of length 130 to a field in IMS DC screen?

FYI: I'm using SDTM tool to modify the IMS screen.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Thu Aug 06, 2009 5:02 pm
Reply with quote

Let's say your screen is a 3270 - it is 80 characters wide with 24 lines down. So, you will need to design your output for at least 2 lines - making is user friendly - easy to read an allowing for attribute bytes.

What you can do is allow modifications to the 2 lines - move them into items within a group in working storage and do your editing there.
Back to top
View user's profile Send private message
chowdhrykapildev

New User


Joined: 05 Aug 2009
Posts: 44
Location: Hyderabad

PostPosted: Thu Aug 06, 2009 5:18 pm
Reply with quote

Hi Sandy,

Yes. We have done the same thing. We have defined two fields for both the lines. Sending half the data for the first field and rest half for the second field. Retrieving both the fields in the pgm and then finally concatenating into one single field. Do you also mean the same as we do? If yes, we really Thank you very much for your help and also for speedy response. Hope we shall meet again in this forum with a new topic. :-)

NOTE: Ours is a PL1-IMS pgm.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Thu Aug 06, 2009 5:54 pm
Reply with quote

Yes - we agree - there is no other way to do it!
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top