× 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.


  • Subject: RE: pc support on as.
  • From: Bill Erhardt <ERHARDT@xxxxxxxxxxxxx>
  • Date: Mon, 5 Mar 2001 08:10:29 -0500

The following code is from a BAT file which sends a file to the AS/400.

echo
rfrompcb J:\Share\transfer\express\asntransfer.dtt
rmtcmd sbmjob cmd(Call pgm(Clvndasn01)) Job(LodVndASN) JOBQ(NEP)
JOBD(PKMSSERVER) SYSLIBL(*SYSVAL) CURLIB(*CRTDFT) INLLIBL(*JOBD) //BALDWIN
                                                              
Exit

To send the file to a PC use the Rtopcb command.  The asntransfer.dtt file
contains the definition of the file transfer.  
Hope this helps.
Bill Erhardt
> -----Original Message-----
> From: LJVM [SMTP:jvy@skyinet.net]
> Sent: Friday, March 02, 2001 5:28 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      pc support on as.
> 
> good day! i just would like to ask. i have a query program and its output
> is not print but database. and i would like to get that database file
> saved on my pc with an excel or csv extension. i have tried client access
> and it is doing fine but i want to create a batch file over my desktop,
> once it is clicked it automatically calls the query program on the as and
> later it will then download the database file on the pc(desktop area). the
> batch file i have tried right now is simply logging into the AS thru ftp
> and then downloads the spool file but first i have to make changes on the
> AS before i will call that batch file.
> Is there any solution for this so that i do not need to go into my query
> program over the AS and manual download the database using the created
> batch file over the pc?
> 
> Any ideas, i really need help for this.
> 
> Thank you.
> 
> jvy << File: ATT17476.txt >>  << File: Message Body >> 


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.