Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
New SENDnnn Commands
has no ratings.
Published: 08 Mar 2012
Revised: 23 Jan 2013 - 1705 days ago
Last viewed on: 23 Sep 2017 (3216 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

New SENDnnn Commands Published by: Bob Cozzi on 08 Mar 2012 view comments(4)

I'm about to release 3 new CL commands and want feedback on them.

  • SENDOBJ - Send an object (generic/full/*all) in a library to another system.
  • SENDSRC - Send source member(s) to another system.
  • SENDSAVF - Send a save file (generic/full/*ALL) to another system.

All three use the FTPFILE command under the covers to send the content to the remote location. The first two automatically create save files and then FTP those save files, the SENDSAVF command (obviously) sends an existing save file. Up to 300 generic-enabled save file names may be specified.

I had others in the pipe line and prototyped, but these three seemed to be all that's really needed in day-to-day operations.

What do you people think?

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: Viking
Premium member *
CA
Comment on: New SENDnnn Commands
Posted: 5 years 6 months 18 days 14 hours 49 minutes ago

By the title, I thought you were going to start sending us porn...  Wink

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: New SENDnnn Commands
Posted: 5 years 6 months 18 days 12 hours ago

Better?

Posted by: jksee
Premium member *
Comment on: New SENDnnn Commands
Posted: 5 years 6 months 12 days 16 hours 24 minutes ago

We had been FTP'ing SAVLIBs from our production box to our development/backup box and found FTP to be very unreliable.  Of course these SAVLIBs are large and more than occasionally the FTPs would fail and we would end up with partial SAVLIBs.  We have switched to SNADS to send the SAVLIBS.  Much more reliable.  Needless to say, we aren't very sold on FTP, at least for large files.

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: New SENDnnn Commands
Posted: 5 years 6 months 12 days 9 hours 41 minutes ago

Of course SNADS would be better. Its a well architect protocol vs something that depends on SOCKETS to work. But... it does require that people "enrolled" to use it. If IBM would just let you send things using it without having to enroll the sender it would be perfect.