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
Creation of Text File
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Quinn
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5293
People Online:
Visitors:
394
Members:
0
Total:
394
Online Now:
New Topics
Lawson Portal
Lawson ESS customization
6/23/2025 10:28 AM
I want to add new links and customize the ESS (sel
S3 Security
Securing forms and programs that use Company Group
6/17/2025 5:41 PM
Is there a way to write a rule, that looks up a co
S3 Customization/Development
Self-Serve Customization and Modification of home page
6/17/2025 3:40 PM
Hi, I want to add new links and customize the E
S3 Customization/Development
Data / List view on Lawson Portal
5/21/2025 2:37 AM
Client is on S3 V10. All delivered and custom form
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
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
1377
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
Integration / Customization
S3 Customization/Development
Creation of Text File
Please
login
to post a reply.
4 Replies
1
Subscribed to this topic
17 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
apk_iyer
New Member
Posts: 0
9/19/2007 2:58 PM
Hi
I am in the process of customizing a batch report for employee's deduction.
In that for special type of deduction I need to write in a text file
.
Can anyone let me know what are the steps I need to follow to achieve the said
objective.
Thanks in Advance
John Henley
Posts: 3355
9/19/2007 3:45 PM
Split
Assuming you are doing this the "old-fashioned" COBOL/4GL way, you would need to create a work file via workdef, and add OPEN/WRITE/CLOSE statements to the batch program. Are you creating the batch program from scratch via pgmdef/cloning another program? Or are you using paint?
apk_iyer
New Member
Posts: 0
9/20/2007 5:36 AM
Split
Thanks John
Yes I am cloning PR276, in it for some deduction code I need to create a text file. Can you please explain how and where in the source code you need to mention open/write/close statements. I am new to this type of development work.
L G
Advanced Member
Posts: 38
10/23/2007 10:51 AM
Split
Hi
I would like to know where do we set the input /output files external filename for a sequential type workfile while running a job
like in CSV we define CSV output external filename in jobdef
Is there a similar way for sequential file
John Henley
Posts: 3355
10/23/2007 1:35 PM
Split
Lalit, you would need to change the workdef (and possibly the program itself). In workdef, you have the option of specifying a "VALUE" or "WSFLD". If you specify VALUE, and type the value in, the workfile VALUE will be created in $LAWDIR/
/work/VALUE/ (i.e. the VALUE is used for the directory as well as the filename. If you specify WSFLD, you type in a variable name--which MUST exist in the program's working-storage (xxxWS), and needs to be populated within the code (xxxPD) to create a different location. Note that both would be modifications to base code, and subject to overwriting via CTP/MSP, and therefore should be avoided...
Please
login
to post a reply.