If a Screen Design Facility formlibrary contains the forms of the application, the formlibrary can be imported into a project without adding the forms individually.
If the formlibrary only contains the forms for the application being modernized, go to step 2; otherwise, create a new formlibrary and copy the forms needed for the new presentation from the existing formlibrary into the new formlibrary.
Determine the name of the dictionary that contains the formlibrary and the name of the formlibrary.
On the MCP server that contains the formlibrary, extract the forms from the formlibrary using the following CANDE statement:
RUN $SYSTEM/EPORTAL/SDFXMLEXTRACTOR("XMLEXTRACT"); FILE DICTIONARY (FILENAME=<sdf dictionary name>); FILE FORMLIBRARY (FILENAME=<sdf formlibrary file name>); FILE RESULTS (TITLE=<sdf xml output file name>);
By default, the output file is placed under the same usercode as the dictionary.
Copy the output file from the MCP server to the PC on which the ClearPath ePortal Developer tool is running by using Client Access Services.
Go to Preparing to Capture T27 Screens or Preparing To Use the COBOL Import Wizard.
Retiring a Formlibrary
To retire a formlibrary, do the following:
Copy all the forms in the output from the SDF Extractor utility into the COBOL code or T27 application.
Ensure that all of the forms are captured using ClearPath ePortal Developer and all functionality is available through a new presentation method.