iSeries Network System iNetwork (formerly iSeries Network)
Home Site Map Contact Us My Profile Log In Join Now!
Info Centers
 Forums

 Tech Center

 News & Analysis

 Solution Center

 UK Centre
Popular Spots
 25th Anniversary

 Article Archive

 ProVIP Center (Club Tech)

 Code

 System i DocFinder

 Essential Guides

 Blogs

 Wikis

 e-Learning

 Webcasts

 Podcasts

 System i Jobs

 Events
Products
 i5 Route Finders

 Learning Center (Store)

 Product Directory
Network Poll
Determining a programmer's desktop requirements is not a black-and-white proposition, but matching equipment to programmer type can help productivity. Which "programmer type" are you?
Vote Now!
Network Memberships
 See Membership Levels

 Free E-Mail Newsletters

 Free RSS Feeds

 Subscribe/Join

 Upgrade Now

 Renew Now
About Us
 About the Network

 Network Publications

 Tech Editor Profiles

 Editorial Calendar

 Contact Us

 Subscribe

 Media Kit (PDF)

 Write For Us


System iNetwork March Sponsor





        System iNetwork March Sponsor


Home » Tech Center » Code » Code Upload Facility
  Code Upload Facility


Code Upload Facility Information
 What is the NEWS/400 Code Upload Facility?

 16-bit Code Upload Facility
  • FAQs
  • Download

 32-bit Code Upload Facility
  • Beta Test
  • Screen Shots
  • Download

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:

  1. 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).
  2. If you have Bugbusters' RSF, you can retrieve the code from its AS/400 directly.
  3. 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:

  1. 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:

  1. 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.
  2. Combined all individual preferences windows into a single preference window organized by tabs.
  3. The AS/400 passwords entered into the AS/400 Hosts preferences are now encrypted in the UP.INI file.
  4. Corrected display at various monitor resolutions.
  5. Added real online help.
  6. 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:

  1. Corrected NT and 95/98 installation DLL differences.
  2. An update to the DOS file system would clear the list of members. Fixed.
  3. Sped up display of large source files.
  4. Corrected the display of CD files.

Build 103 (released June 16, 1999) of Version 2.0 beta contains the following fixes:

  1. Ftp control now registers correctly.
  2. 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!):

  1. View tab is now resizable.
  2. Passwords are now encrypted when saved in the INI file.
  3. 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.
  4. 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.
  5. CD directory locations can now be a network drive (using UNC; e.g., \\netdrive\directory).
  6. Added a preferences screen to change the DOS file extensions for code exported from bundle files to separate PC files.
  7. Assigned default buttons to the dialog boxes and set focus to the default buttons.
  8. Upload function didn't detect that code was selected when browsing CD code. Fixed.
  9. The View tab didn't always display the first bundle by default. Fixed.
  10. An update to the DOS file system caused the View tab bundle list to select the first bundle. Fixed.
  11. The Upload tab wouldn't use a different name than the default single target file name. Fixed.
  12. 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.
  13. Sometimes the permission was denied to the ~text.txt file. Fixed.
  14. 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.
  15. 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.
  16. Enclosing quotes in the source physical file description were not removed. Fixed.
  17. Some ftp errors were being truncated when displayed. Fixed.
  18. A lighter version of the ftp control is now used.
  19. 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.
  20. 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)

  1. Upload source to the AS/400 using TCP/IP and ftp.
  2. 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.)
  3. No host-based "unbundle" and "make" programs required.
  4. Switch back and forth between viewing bundle files on your PC, and code on the NEWS/400 CD-ROM.
  5. Change the job parameters for the program that compiles uploaded source.

Version 2.1 (6-8 weeks after final release of 2.0)

  1. Uploads source to the AS/400 using 32-bit routers.
  2. Complete online help.

Version 2.2 (4-6 weeks after final release of version 2.1)

  1. Uploads save files.
  2. 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
UpBundle.gif (14916 bytes)

View NEWS/400 CD-ROM code
UpCD.gif (17436 bytes)

Export the bundled AS/400 code to individual PC files
UpExport.gif (12204 bytes)

Upload and compile code to the AS/400
UpUpload.gif (11549 bytes)

 

Download 32-Bit Code Upload Facility Beta - released October 4, 1999

upbeta115.zip (7.6 MB)






  Sponsored Links   Featured Links


Penton Technology Media
Connected Home | SQL Server Magazine | Windows IT Pro
Report Bugs | Contact Us | Comments/Suggestions | Terms of Use | Privacy Statement | Trademarks
See Membership Levels | Subscribe | Free E-mail Newsletters | Free RSS Feeds | My Profile | Upgrade Now | Renew Now

© 2010 Penton Media, Inc.
Penton Media
System i is a trademark of International Business Machines Corporation and is used by Penton Media, Inc., under license. SystemiNetwork.com is published independently of International Business Machines Corporation, which is not responsible in any way for the content. Penton Media, Inc., is solely responsible for the editorial content and control of the System iNetwork.