| Network Poll |
 |
|
|
|
System iNetwork March Sponsor
|
|
 |

System iNetwork March Sponsor
Home
» Tech Center
» Code
» Code Upload Facility
What is the NEWS/400 Code Upload Facility?
The Code Upload Facility is a Visual Basic program that extracts AS/400 source code
from "bundle" files and either exports those files to the PC or uploads and
compiles them on the AS/400. The utility is made available in the following ways:
- downloadable from the NEWS/400 Web site,
- distributed via the NEWS/400 Code Service,
- distributed with 29th Street Press book code, and
- distributed with the NEWS/400 CD-ROM Reference Library.
Check out the beta test
for the 32-bit version!
FAQs for the 16-Bit Code Upload Facility
I'm using Client Access/400, and I'm getting a "File not found"
or "PC router not loaded" error.
You need to ensure that any EHN*.DLLs in your WINDOWS/SYSTEM are for CA/400 and not
left over from older versions of PC Support, Netsoft, Wall Data, etc. You also need to
enable 16-bit API compatibility in the Client Access Windows Control Panel.
If you are using TCP/IP, the current Upload Facility won't work, because it uses the
16-bit APIs.
If you're not using TCP/IP and you still can't get the Upload Facility to work, check here for alternatives.
I'm using the Rumba emulation for Windows 3.1 or 3.11, and I'm getting a
"File not found" or "PC router not loaded" error.
The Rumba 16-bit file transfer API was never compatible with IBM's API, so the Upload
Facility doesn't work with it. Check here for alternatives.
I just can't get the Upload Facility to work. What can
I do?
The utility is currently being rewritten to use the 32-bit APIs and to work under
TCP/IP. For now, you have several options:
- Export the source into PC files by pressing the Export button in the Upload Facility,
then upload the code using any file transfer facility (such as the one included with
CA/400).
- If you have Bugbusters' RSF, you can retrieve the code from its AS/400 directly.
- Starting with the April 1998 code, we are distributing the AS/400 source code as bundle
files (which require the Code Upload Facility), and as separate PC files zipped up into a
single PC zip file. We will also begin offering AS/400 save files, which you will be able
to upload using any file transfer facility.
Download the 16-Bit Code Upload Facility
newsupld.exe (433 KB)
Beta Test for 32-Bit Code Upload Facility
Note to users with Italian host language AS/400s: The Code Upload Facility will work only if you change the translation for "Not Found" from "non trovato" to "Non รจ stato trovato." You can change the translation in the "File | Preferences | AS/400 Host Language" and click on "Italian."
Build 115 (released October 4, 1999) of Version 2.0 beta contains the following fixes:
- The missing acrypt32.dll was added to the installation program. If you already downloaded Build 114, you can download just the missing program by downloading missingdll.zip.
Build 114 (released September 30, 1999) of Version 2.0 beta contains the following fixes:
- Some beta testers from outside the U.S. reported uploads halting soon
after they were initiated. After much head-scratching, it was determined
that some informational and error messages from the AS/400 are returned in
English, but on AS/400s configured in languages other than English,
some messages were not in English. An additional configuration screen was
added to allow the translation of selected words from English to another
language. Currently, there are eight language translations included:
English, Danish, Dutch, French, German, Italian, Spanish, and Swedish. If you
add another language, please e-mail me your UP.INI file at clundgren@as400network.com.
- Combined all individual preferences windows into a single preference
window organized by tabs.
- The AS/400 passwords entered into the AS/400 Hosts preferences are now
encrypted in the UP.INI file.
- Corrected display at various monitor resolutions.
- Added real online help.
- If bundles in the same directory had the same description, the program
wouldn't read the bundle directory correctly. Fixed.
Build 107 (released July 12, 1999) of Version 2.0 beta contains the following fixes:
- Corrected NT and 95/98 installation DLL differences.
- An update to the DOS file system would clear the list of members. Fixed.
- Sped up display of large source files.
- Corrected the display of CD files.
Build 103 (released June 16, 1999) of Version 2.0 beta contains the following fixes:
- Ftp control now registers correctly.
- Newer version of the Windows Exporer tree control used.
Build 102 (released June 14, 1999) of Version 2.0 beta contains the following enhancements and fixes (wow!):
- View tab is now resizable.
- Passwords are now encrypted when saved in the INI file.
- The most common error reported by beta testers was the upload mysteriously halting without any explanation. This could happen when creating a source physical file with a description enclosed with double quotes or if a member was uploaded to a source file with a record size too small. Fixed. Also added extensive error messages.
- When some errors occurred during upload, the AS/400 wouldn't return an error in the buffer, so subsequent operations wouldn't detect the error and fail. Fixed.
- CD directory locations can now be a network drive (using UNC; e.g., \\netdrive\directory).
- Added a preferences screen to change the DOS file extensions for code exported from bundle files to separate PC files.
- Assigned default buttons to the dialog boxes and set focus to the default buttons.
- Upload function didn't detect that code was selected when browsing CD code. Fixed.
- The View tab didn't always display the first bundle by default. Fixed.
- An update to the DOS file system caused the View tab bundle list to select the first
bundle. Fixed.
- The Upload tab wouldn't use a different name than the default single target file name. Fixed.
- Displaying the Create Source Physical File, Create Library, or Overwrite Member dialogs for a long period of time would cause the the connection to time out. Fixed.
- Sometimes the permission was denied to the ~text.txt file. Fixed.
- The CL program that compiles the code was being stored in a non-bundle source physical file or in a file other than QCLSRC (when storing to Qxxxsrc). Fixed.
- When uploading a bundle file's code to multiple QxxxSRC files, and when creating those files, the bundle's description was used for the QxxxSRC file description. Changed to use a blank default file description.
- Enclosing quotes in the source physical file description were not removed. Fixed.
- Some ftp errors were being truncated when displayed. Fixed.
- A lighter version of the ftp control is now used.
- When suggesting the minimum size for creating a new source physical file, the program failed to add 12 bytes to the maximum line found in the bundle. Fixed.
- When creating the CLP program that compiles the article code, the beginning of the command sometimes got lopped off. Fixed.
Enhancements Schedule
Version 2.0 (beta released April 12)
- Upload source to the AS/400 using TCP/IP and ftp.
- Unbundle source "bundle" files to either a single source file, or to multiple
files (e.g., RPG code is uploaded to QRPGSRC, CL programs to QCLSRC, etc.)
- No host-based "unbundle" and "make" programs required.
- Switch back and forth between viewing bundle files on your PC, and code on the NEWS/400
CD-ROM.
- Change the job parameters for the program that compiles uploaded source.
Version 2.1 (6-8 weeks after final release of 2.0)
- Uploads source to the AS/400 using 32-bit routers.
- Complete online help.
Version 2.2 (4-6 weeks after final release of version 2.1)
- Uploads save files.
- Search facility for source included on the NEWS/400 CD-ROM..
Screen
Shots of 32-Bit Code Upload Facility Beta
View bundle files and contents

View NEWS/400 CD-ROM code

Export the bundled AS/400 code to individual PC files

Upload and compile code to the AS/400

Download 32-Bit Code Upload Facility Beta - released October 4, 1999
upbeta115.zip (7.6 MB)
|