Home > Ask the AS/400 Experts > iSeries Backup and Recovery Questions & Answers > Executing a CL command on AS/400
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Executing a CL command on AS/400

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 February 2008
Is there a way to run a command from Windows that will start a session and execute a CL command on AS/400? We basically need to stop a subsystem before we back it up.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
iSeries Backup and Recovery
Authority restrictions on the AUTL on backup/test systems and AUTL on live system
Perform a full system backup without user profile QSECOFR
Faster backup method for System i
Solve problems concerning the ALLOW OBJECT DIFFERENCES parameter when restoring a library
System i backup not advised using network NETBACKUP
How to clear expired BRMS created *SAVF files from System i
Restore a full system backup from the production partition to the test partition
Remove a media with a *PERM expiration date from the inventory
Booting iSeries from internal or external sources
SAVF by FTP on AS/400 -- error "source file not found"

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Yes there is, using FTP, the QUOTE command and the RCMD command.

For example, to end subsystem XYZ on System S02, you would take the following steps:

  1. Start an FTP session to your iSeries. The FTP server on iSeries will need to be running.
  2. Sign on with a user profile that has at least *JOBCTL.
  3. From your PC, open a CMD window, then issue the following commands:
C:>ftp s02
Connected to s02.xxx.com.
220-QTCP at s02.xxx.com.
220 Connection will close if idle more than 5 minutes.
User (s02.xxx.com:(none)): keg
331 Enter password.
Password:
230 KEG logged on.
ftp> quote rcmd endsbs xyz *immed
250 Command endsbs xyz *immed successful.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts