Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Financial Management
Lawson S3 Financials
AP160 FORMAT - ONE LONG RECORD STRING
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
552
Members:
0
Total:
552
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Financial Management
Lawson S3 Financials
AP160 FORMAT - ONE LONG RECORD STRING
Please
login
to post a reply.
8 Replies
0
Subscribed to this topic
43 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
JPurvis
Posts: 5
10/3/2012 7:27 PM
We are attemping to setup a NACHA file format using AP160. Our file currently is outputting a file that puts the data in one long string. We wanted to get this type of format below.
Basically the normal NACHA looking format....any help or thoughts? Where are we missing a flag or parameter to get the output to look like this?
Thanks!
1 data
5 data
8 data
9 data
Vicki
Basic Member
Posts: 10
10/3/2012 7:45 PM
Do you have the option of FORMAT = 'I' on the Output Options tab?
JimY
Veteran Member
Posts: 510
10/4/2012 11:02 AM
There was a patch for that, but you could change the ORGANIZATION to LINE-SEQUENTIAL for ACHTAPE-FILE to solve your problem. I can't seem to remember which patch it was.
JPurvis
Posts: 5
10/4/2012 12:18 PM
Hi sorry, I only have P and C. I don't seem to have the format option of 'I'.
JPurvis
Posts: 5
10/4/2012 12:19 PM
[quote]
Posted By JimY on 10/04/2012 07:02 AM
There was a patch for that, but you could change the ORGANIZATION to LINE-SEQUENTIAL for ACHTAPE-FILE to solve your problem. I can't seem to remember which patch it was.
[/quote]
Hi, I'm pretty much a rookie with Lawson. Where would I go to see the Organization to Line-Sequential for ACHTAPE-FILE setting? Which form etc?
Thanks so much.
MattK
New Member
Posts: 5
10/4/2012 1:22 PM
We had the same issue so decided to use an ETL tool to read the file and put it into format, and it works rather nicely. We have to tweak some of the data in the file anyway to conform to what the bank need.
JimY
Veteran Member
Posts: 510
10/4/2012 2:34 PM
Hi JPurvis,
What I did is use the command bldsh which pulls all the source code together. It will place the program code in $LAWDIR/product_line/apsrc/. You can then find the select statement there. You cannot use the lawson compile scripts (qcompile,etc). I use the following:
hurcob='cob32 -C nolist -vW e -C warning=1 -C noalter -C vsc2' AP160.cbl -u
You will then have to move the resulting generated member AP160.gnt to $LAWDIR/product_line/obj/.
If you don't want to go through all this you could use the command cnvexp that will change a file from sequential to line sequential. you will have to know the length of the record. You could develop a script to do this and execute it after AP160 completes. Hope this helps.
John Henley
Posts: 3353
10/4/2012 3:41 PM
I recommend using a multi-step job created via jobdef. Step one runs the AP160, and then step two calls a script that includes the cnvexp command to post-process the file into the correct format.
JimY
Veteran Member
Posts: 510
10/4/2012 3:44 PM
I agree John. I do that when I have to run scripts that process files that have been created by the previous step or when I want to send emails to notify that a program has completed. I created a cobol program using 4GL that I edited to call the script. It works great for me. Thank you.
Please
login
to post a reply.