Thread View: bit.listserv.powerh-l
1 messages
1 total messages
Started by techrator
Sun, 04 Dec 2005 19:58
Record lengths even?
Author: techrator
Date: Sun, 04 Dec 2005 19:58
Date: Sun, 04 Dec 2005 19:58
47 lines
2507 bytes
2507 bytes
I have the below info in my dictionary:
File PPSTRN-230 Organization direct open PPSBK230.PUNCH &
Description "Punch record for GL Account Table update"
Record PPSTRN-230
Item RCD-ID Datatype character size 3
Item FILLER-1 Datatype character size 1
Item FAS-LEGAL-ENTITY Datatype character size 3
Item FAS-GL-ACCOUNT Datatype character size 10
Item FAS-GL-ACCT-NAME Datatype character size 50
The item fas-legal-entity has to be changed to 4 digit.
I wanted to modify the existing file(ppsbk230.punch) to look someting
like:
RCD-ID = size 3
FAS-LEGAL-ENTITY = size 4
FAS-GL-ACCOUNT = size 10
FAS-GL-ACCT-NAME = size 50.
I have the below QTP code:
access ppstrn-230
SET process lim 100000
define LE char*4=FAS-LEGAL-ENTITY + " "
subfile ppsbk230.data keep nodict include &
RCD-ID, &
LE, &
FAS-GL-ACCOUNT, &
FAS-GL-ACCT-NAME
GO.
The QTP executes fine, but the output data is of the rec length 68
instead of 67.
Any idea where I am going wrong and whats the best way to solve this.
Is this something that powerhouse does automatically.
I request all to please directly mail me at my email id techrator at
gmail dot com with the suggestion.
Thanks in advance for your help.
Thanks and Regards
VJ.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads