I found some KB articles about to dump sequences but only one uses an existing program from prodict.pl:
000010326:
RUN prodict/load_seq.p (INPUT “_seq-val.d”,
INPUT “c:/data/”).
But I can't find the related dump program!
I found some KB articles about to dump sequences but only one uses an existing program from prodict.pl:
000010326:
RUN prodict/load_seq.p (INPUT “_seq-val.d”,
INPUT “c:/data/”).
But I can't find the related dump program!
Flag this post as spam/abuse.
I found some KB articles about to dump sequences but only one uses an existing program from prodict.pl:
000010326:
RUN prodict/load_seq.p (INPUT “_seq-val.d”,
INPUT “c:/data/”).
But I can't find the related dump program!
Flag this post as spam/abuse.
Hi Stefan,
prodict/load_seq.p and all other dump and load programs are part of $DLC/src/prodict.pl.
For more details and information how to extract the procedure library go to:
knowledgebase.progress.com/.../15884
Good luck,
Frank
I used a manual dump procedure, found in the KB.
But why there isn't any easy usable counterpart of load_seq in prodict.pl available?
Since v11.0 prodict/dmpseqvals.p can be used to dump sequence values. It is different than the older prodict APIs in that it has to be run persistent. Note that most of the older load and dump also typically can be run persistent, since they have more options than what can be provided with the input parameter. They will have a doDump or doLoad method to do the actual operation.
define variable hDump as handle no-undo. run prodict/dmpseqvals.p persistent set hDump. run setFileName in hDump ("seqvals.d"). run doDump in hDump.
---
In addition to setFileName(), you can control the outcome with setDirectory(), setSequenceSelection(key of a sequence), setCodePage(), setSilent() - boolean true to suppress messages, setEffectiveTenant() and setTenantDir().