View previous topic :: View next topic |
Author |
Message |
Hilltop Beginner
Joined: 14 Oct 2004 Posts: 62 Topics: 21
|
Posted: Wed Jul 13, 2005 1:33 am Post subject: screen display |
|
|
I am writing a scrollable screen with 10 lines in which I have option to insert delete and update on any one line is selected by the user. I have coded the program and when I test it the first line shows properly all the other lines are not in the same alignment. I used a occurs 10 on the mod fields and insert those into the screen. My mod lenght is 988 including a mod name of 8 bytes. Somehow the seccond lines are not matching the position on the screen.
Please advise me. If you can put the code sample that will be great.
I appreciate everyone.
Thanks. |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Jul 13, 2005 1:40 am Post subject: |
|
|
By how many positions are the misaligned lines off? That might give you an idea about the padded/truncated data. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
Hilltop Beginner
Joined: 14 Oct 2004 Posts: 62 Topics: 21
|
Posted: Wed Jul 13, 2005 2:19 am Post subject: |
|
|
my screen looks something like this
_ 00204 C1XXX4 003 AAD 1 1 0 1 00050000 10504 xxxxxxxxxxxxxxx
____ _____ __ __ _______ ____ ____________________________
009 C1J2 0 J 000500 0 105 1 JIM KAY
_ __ _ ___ _ _ _ _ _ _ _ _____ __ __ __ __________________________
_ _ 0 01 C1 S1 06 X 1 0005 000 1 041 SUE SUCHECKI
_ ___ _ ___ ___ _ _ ___ ____ ____ ________________________
_ _ _ 0190 R4M 00 M 1 1 1 1 00 00000 05041 RITA G MARTIN
_ _____ ___ _ _ _ _ _ ______ ______ ______________________
_ ___ 00203 C1X 3 3 A 1 1 050000 105041 NO BENEFIT SCHEDULE I
____ __ __ _ _ _ _ _ _ ______ ______ ____________________
Don't know whats happening. |
|
Back to top |
|
 |
Hilltop Beginner
Joined: 14 Oct 2004 Posts: 62 Topics: 21
|
Posted: Wed Jul 13, 2005 7:59 am Post subject: |
|
|
Now I could able to display the screen in right format. Now the problem is I am not getting the control back to the program.
any advise? |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Jul 13, 2005 9:14 am Post subject: |
|
|
What do you mean by "not getting control back to the program"? |
|
Back to top |
|
 |
Hilltop Beginner
Joined: 14 Oct 2004 Posts: 62 Topics: 21
|
Posted: Thu Jul 14, 2005 1:51 am Post subject: |
|
|
Once I enter my choice and hit enter I am getting the following error...
Quote: |
DFS064 02:49:46 DESTINATION CAN NOT BE FOUND OR CREATED
|
|
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Jul 14, 2005 8:21 am Post subject: |
|
|
It is possibly an error in your format. Check the NXT parameter for your MSG TYPE=INPUT. |
|
Back to top |
|
 |
|
|