Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
E@DBFINDnxt in LSF9
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
chaoticist
Past 24 Hours:
1
Prev. 24 Hours:
1
Overall:
5185
People Online:
Visitors:
265
Members:
1
Total:
266
Online Now:
llclos
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
E@DBFINDnxt in LSF9
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Walter
Advanced Member
Posts: 22
8/19/2010 4:14 PM
I'm in the process of migrating our custom programs from 8.1 to LSF9. The following is from one of those programs which has been working fine 8.1
C eval $FirstZAY = 'Y'
C callp DN@DBPXZAY1(E@DBFINDbegrng)
* Loop through Billing Header Records where status = 1
* If applicable, apply Process Lever and/or Voucher Number filters
C DOU dzay@notfound = TRUE or
C dzay@notfound = FALSE and
C (Dzaycmpny <> D@cmpny or
C Dzayvchnbr <> D@vchnbr)
C if $FirstZAY = 'N'
C callp DN@DBPXZAY1(E@DBFINDnxt)
C endif
C eval $FirstZAY = 'N'
Testing this in 9.0.1, the program crashes at DN@DBPXZAY1(E@DBFINDbegrng)
with the following error, which trying to read the second record
User Name: DSWK Job Name: PX120WK Queue Name: ACCLAWDEV
BEGIN: Job Submitted: Thu Aug 19 12:43:54 2010
Step 1: PX120 Started. . . . . .: Thu Aug 19 12:44:38 2010
** Creating .prt and .dtl files
File LAWAPP9/BINVOICEDT.
tsFindNxtDBRec error is File position not valid for nxt/prv find (114).
Process ID . . . . . . .: 156767
(StartJob) CALL PX120 Failed
Elapsed Time: 00:04:42
END: Job Ended: Thu Aug 19 12:48:36 2010
Does anyone know if these IO routines have changed in LSF9
Ragu Raghavan
Veteran Member
Posts: 468
8/19/2010 4:35 PM
They did change in the Unix/Wndows env.
Prior to LSF9, it was forgving. I could pair a FIND-BEGRNG with a FIND-NEXT.
Now it forces me to match FIND-BEGRNG with FIND-NXTRNG.
This looks like I-series/RPG. Don't know the syntax. You probably need to replace the callp DN@DBPXZAY1(E@DBFINDnxt) with a callp DN@DBPXZAY1(E@DBFINDnxtrng) or something.
Walter
Advanced Member
Posts: 22
8/19/2010 5:04 PM
Thanks. That's what I was suspecting. I'll give your suggestion a try and let you know how it works
Your right in that is iSeries RPG and I wouldn't be at all surprised if it were changed too.
Walter
Advanced Member
Posts: 22
8/19/2010 7:01 PM
Looks like that worked. I paired up E@DBLOCKBEGRNG with E@DBLOCKNXTRNG; also E@DBFINDBEGRNG with E@DBFINDNXTRNG
Program ran to normal completion and the results look good.
Thanks for your help. The solution was not nearly as bad as I initially thought.
You are not authorized to post a reply.