Running the PL/SQL Wrapper
To run the PL/SQL Wrapper, go through the wrap command at your operating system prompt by using the syntax as shown:
wrap iname=input_file [oname=output_file]
It Leave no space in the region of the equal signs as spaces delimit the individual arguments.
The wrap command needs only one argument, which is as shown:
iname=input_file
where the input_file is the path and name of the Wrapper input file. You do not require specifying the file extension as it defaults to sql. For illustration, the commands below are equivalent:
wrap iname=/mydir/myfile
wrap iname=/mydir/myfile.sql
Though, you can specify a various file extension as the illustration below shows:
wrap iname=/mydir/myfile.src
Optionally, the wrap command takes a second argument, which is as shown:
oname=output_file
where the output_file is the path and name of the Wrapper output file. You do not require specifying the output file as its name defaults to that of the input file and its extension defaults to the plb (PL/SQL binary). For illustration, the commands below are equivalent:
wrap iname=/mydir/myfile
wrap iname=/mydir/myfile.sql oname=/mydir/myfile.plb
Though, you can use the choice oname to specify a various file name and extension, as the illustration below shows:
wrap iname=/mydir/myfile oname=/yourdir/yourfile.obj