Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
Status Under Review
Categories Natural (NAT)
Created by Mogens Lundqvist
Created on Jul 15, 2021

Support process id as variable for print and workfiles

Support process id as variable for print and workfiles

Example - this invoke of Natural:

natrt.exe BATCHMODE CMPRINT="C:\CMPRINT *PID.LOG" CMPRT01="C:\CMPRT01 *PID.LOG" CMWRK01="C:\CMWRK01 *PID.TXT"

and if process id is '4711'

CMPRINT becomes "C:\CMPRINT 4711.LOG"

CMPRT01 becomes "C:\CMPRT01 4711.LOG"

CMWRK01 becomes "C:\CMWRK01 4711.TXT"

Btw - *PID specification is supported when set in NATPARM for a print file. But not if set as parameter (in above example).


Created on Brainstorm 10/03/2017 02:22
Brainstorm ID 5284
  • +1