× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You could run the CHGPFM command to set your Source type
after you've transferred the member.

> -----Original Message-----
> From: cobol400-l-bounces@xxxxxxxxxxxx 
> [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Stafford
> Sent: Monday, January 09, 2006 3:15 PM
> To: COBOL400-L@xxxxxxxxxxxx
> Subject: [COBOL400-L] Moving Source Code from another 
> platform to ILECOBOL/400
> 
> 
> There must be an easier, or more proper way to do this......
> 
> I have COBOL source code residing on an AIX box that I want 
> to move to the
> AS/400.
> 
> Here's what I did to move it:
> 
> 1) In the QCBLLESRC file, I created an empty CBL source 
> member named   TEST
> (type CBL)
> 
> 2) On the AIX box, I opened an FTP connection to the AS/400
> 
> 3) I changed directory to the AS/400 library
> 
> 4) I then did:   put  TEST.CBL  QCBLLESRC.TEST
> 
> 5) I closed the FTP connection
> 
> At this point, my code was intact.  I had to change a couple 
> of DISPLAY and
> ACCEPT lines, but after doing so, I was able to compile and run
> successfully.
> 
> I tried this omitting step 1 above, put then my source code 
> does not have a
> 'TYPE' once it is copied to the 400.
> 
> I'm sure there must be an easier way to do this....
> 
> Is there someone on this group that has any suggestions?
> Does anyone have any scripts, etc to automatically make the 
> minor source
> code changes required?
> 
> Thanks!
> 
> PS - I will keep the group updated with new information 
> regarding this if
> anyone is interested


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.