pgm not displaying new vtx field on a video

Diana_Apple

Well Known Member
Hi,

I am trying to add a new field to V41200 to show the total quantity available of the selected item.

I added two fields a VTX and a Variable field. I also updated the PSVTX# in the S999 subroutine as well as the input data structure.

Initially, I updated V41200 thru PDM, but then went to SVR and used JDE's SDA.

I also updated the vocabulary overrides for this video.

When I use JDE's SDA, the VTX field shows my text.

But when I execute the program, it remains blank. (actually it is not displayed, although the variable field is)

I also tried interactive debug and watched that field. During the debug, the field was populated, but still did not show up on the screen. The variable is displayed. Also there are no conditioning indicators that would prevent it from being displayed. I even added a temporary display attribute (UL) to prove that the field was not being displayed. What am I doing wrong?

Diana
 

scott_parker

Reputable Poster
A couple things to check.

1. Make sure that the I spec in the RPG program for the DSTXT is now large enough.
Example
0085.00 %VTX1IDSTXT DS 2920

0153.00 %VTX2I 28812920 VTX073

the 2920 shows the total size of all the vtx fields. it came from the last VTX field defined.

Also,
the total number of VTX fields is defined by the next line in the S999 routine.

1807.00 %VTX3CSR Z-ADD073 PSVTX# 30


There is a Great utility on the JDEList web site that will auto generate your complete VTX I specs and the C spec line.
All you have to do is run that program passing the parms of the Printer file name and then copy in the lines.
(thats where the %VTX1 comments in that code came from)

Another thing that has gotten me in the past is switching between envirornments.

Make sure you know what lib your VTX's are stored in. (usually the COM lib.)


Hope this helps.

Scott Parker
Grote Industries, LLC.
WorldSoftware Version 8.1.2 AS/400 V4R5
 

jhasl1

Member
Sounds like you may have fields overlapping. Try this. Using JDE's SDA,
pull up the video and place an * in front of the VTX field that shows up
before the missing field. After the information window pops up, page down
should take you to the next VTX. You either have another field in there
(maybe a literal), or an overlap from the previous VTX.

Hope this helps.
 

Emad_S_Banoub74

Active Member
I think you covered all bases. Try from VO (vocabulary overrides) to
inquire on V41200 then F13 to browse SDA, if the new field's displayed then
you are OK, the only thing could be wrong is your library list. (check
where you compiled your video and RPG also make sure the CL not hard code
the library in the CALL command)

Let us know.

Emad Banoub
MWH
Pasadena, CA
626-568-6529

A7.3 CU 12/X3 - Xe SP 13 (Coexistence)





Diana_Apple <d_l_apple@yahoo.com>@jdelist.com on 07/27/2001 07:54:55 AM
 

TGreene

Active Member
Diana,

I don't know if this would cause NO display, but did you change the
Override field in the vocabulary overrides to a "Y"? This indicates that
a non-JDE override is to be used.

Hope this helps!
Teri Greene


Hi,

I am trying to add a new field to V41200 to show the total quantity
available of the selected item.

I added two fields a VTX and a Variable field. I also updated the
PSVTX# in the S999 subroutine as well as the input data structure.

Initially, I updated V41200 thru PDM, but then went to SVR and used
JDE's SDA.

I also updated the vocabulary overrides for this video.

When I use JDE's SDA, the VTX field shows my text.

But when I execute the program, it remains blank. (actually it is not
displayed, although the variable field is)

I also tried interactive debug and watched that field. During the
debug, the field was populated, but still did not show up on the screen.
The variable is displayed. Also there are no conditioning indicators
that would prevent it from being displayed. I even added a temporary
display attribute (UL) to prove that the field was not being displayed.
What am I doing wrong?

Diana






--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=W&Number=17609
 

TGreene

Active Member
Diana,

I don't know if this would cause NO display, but did you change the
Override field in the vocabulary overrides to a "Y"? This indicates that
a non-JDE override is to be used. Actually, since this is a new field,
that flag MAY be the culprit.

Hope this helps!
Teri Greene


Hi,

I am trying to add a new field to V41200 to show the total quantity
available of the selected item.

I added two fields a VTX and a Variable field. I also updated the
PSVTX# in the S999 subroutine as well as the input data structure.

Initially, I updated V41200 thru PDM, but then went to SVR and used
JDE's SDA.

I also updated the vocabulary overrides for this video.

When I use JDE's SDA, the VTX field shows my text.

But when I execute the program, it remains blank. (actually it is not
displayed, although the variable field is)

I also tried interactive debug and watched that field. During the
debug, the field was populated, but still did not show up on the screen.
The variable is displayed. Also there are no conditioning indicators
that would prevent it from being displayed. I even added a temporary
display attribute (UL) to prove that the field was not being displayed.
What am I doing wrong?

Diana






--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=W&Number=17609
 

Diana_Apple

Well Known Member
Yes, that was it. I had overlapping fields. Since it showed up ok in JDE's SDA I never thought to check that. I had originally added the fields through SEU, since I am not familar with SDA on the AS/400. (I was in a S36 shop not too long before this).

Thanks so much to everyone who responded to my post. You all have been a great help!

I have printed this out, for future reference. Man, what would I do without this list and you?
 

dkahn

Active Member
Teri, the override field doesn't affect the display at all, although it's a good thought. It's used at upgrade time to prevent your changes to JDE defaults from getting reset.

Dave Kahn (World A7.3 cum 10)
=========
 
Top