Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Migrate Custom Tokens
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
178
Members:
0
Total:
178
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
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
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 Systems Administration
Migrate Custom Tokens
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
SP
Veteran Member
Posts: 122
5/18/2012 1:12 PM
I have the need to migrate a large number of custom tokens (tokendef) from one environment to another. Does anyone have experience and know of a clean way to accomplish this other than re-keying in tokendef?
Can it be as simple as a rngdbdump/importdb of the specific records from the gen table 'executable' (presuming the category exists)??
Jeff White
Veteran Member
Posts: 83
5/18/2012 1:23 PM
Try: dmpunivtkns -u
Jeff White
Veteran Member
Posts: 83
5/18/2012 1:24 PM
Sorry. Then to load them use: ldunivtkns outfile.dmp
SP
Veteran Member
Posts: 122
5/18/2012 1:41 PM
I think that gets every custom tokendef from one environment, along with all categories. I don't want to migrate all the custom categories, but rather just the tokens for one specific category.
I have dumped executable using "rngdbdump -ct executable -v CATEGORY=PREMCOLL > premium_collections_exe.csv and I have loaded it using importdb. Everything looks good in the target environment with the exception of the "Title" in tokenddef. Title is not a field in the EXECUTABLE table. This tells me I'm missing something. :-o
Do you have any idea what table houses the "Title" value as seen in tokendef under "User Form ID"
Jeff White
Veteran Member
Posts: 83
5/18/2012 1:53 PM
Wouldn't it be easier to just migrate them all, then delete the categories that you don't want?
SP
Veteran Member
Posts: 122
5/18/2012 4:56 PM
Jeff,
My concern with that approach is where existing tokendef names are the same on the development server vs. production, but where the Command params are different. I would essentially be overwriting production with development parameters.
After some research, I was finally able to use dmpunivtkns/ldunivtkns with a little bit of clean up. One particular category has over 100 tokens. So I had to be very careful.
For what it's worth, the table I couldn't find is named, aptly enough, "TITLE." Duh!! (Thanks Kwane) Unfortunately I couldn't easily use rngdbdump on that table, because there was no good key value for the new tokens, and rngdbdump doesn't accept wildcard when dumping by field value (at least not that I could figure out.)
Thanks for help.
Stuart Perkins
Basic Member
Posts: 18
11/15/2019 10:18 AM
Very old thread and probably not much use anymore...but...
rngdbdump will allow a range of values in the form of "field=from:to"
Orlando Gray
Advanced Member
Posts: 34
5/19/2021 7:09 PM
Old, but great.
Thanks so much for this Stuart.
You are not authorized to post a reply.