Hi,I have a NETWORK apps to renumber nodes - script lines are copied below (attachment #1). It ran successfully, but every time I want to edit the Title (right click execution box, Set Title), an Application Manager warning says: "The Program name in the script (PILOT) does not match the program name in the Application (NETWORK), for the script file ...\...S", then the written script is gone, empty, just few lines left (attachment #2).I've tried created a new one, successfully ran, but the same error message above shown when trying to edit the title.Thank you.Attachments:(1) Script before title edited:;;<<Default Template>><<NETWORK>><<Default>>;;; Do not change filenames or add or remove FILEI/FILEO statements using an editor. Use Cube/Application Manager.; [N] Renumber node of external zones, old:51-113 -> new:93-155COPY FILE=RENUMBER.TXT ; [N] Create a lookup txt file for node renumbering, data fields: new# old#93 5194 5295 5396 5497 5598 5699 57100 58...150 108151 109152 110153 111154 112155 113ENDCOPYRUN PGM=NETWORK PRNFILE="...\MODEL\APPS\RPNET00F.PRN" MSG='RENUMBER OLD EXTERNAL NODES'FILEO NETO = "...\MODEL\APPS\RPNET00H.NET"FILEI LINKI[1] = "...\Model\Network\ERPSA_2018.NET"; [N] Specify lookup function, 0 if no exact matchLOOKUP NAME=RENUM, FILE=RENUMBER.TXT, INTERPOLATE=F, FAIL=0,0,0PROCESS PHASE=INPUT FILEI=NI.1 IF (RENUM(N)<>0) N=RENUM(N) ;[N] Renumber all nodes in external zonesENDPROCESSPROCESS PHASE=INPUT FILEI=LI.1 IF (RENUM(A)<>0) A=RENUM(A) ;[N] Renumber nodes AB in links connected to external zones IF (RENUM(B)<>0) B=RENUM(B)ENDPROCESSENDRUN (2) Script after trying to edit the title:;;<<Default Template>><<NETWORK>><<Default>>;;; [N] Renumber node of external zones, old:51-113 -> new:93-155
Hello.
You should not enter that COPY - ENDCOPY statement within the Network program script.
You should use a Pilot program before the Network one instead. When working in Application Manager and entering scripts that are outside a program, you should use Pilot as the basic driver, please see below:
Answer Verified By: Novra Anumasta
Hi Contiero,
Currently I havent created any Pilot program, I'll take a look at it and use it.
Thank you for the prompt reply and tip.