AS/400 scripts Questions

1

Help with a simple script
Firstly I should mention that my profession is controlling, not IT, but I assume my problem is rather simple. Unfortunately, I have not even basic knowledge how to solve my problem on an AS/400. I copy data from the AS/400 to the AS/400 notepad. Sometime I have longer lists, so I copy to the notepad, [...]

Answer Question   |  May 2, 2013  6:53 PM
AS/400, AS/400 scripts
asked by:
15 pts.

Script on AS/400 MAM Console
Could you help me create script for AS/400 MAM console? Script should check first line in console (every minute) and delete it IF the same text exist in other text file.

Answer Question   |  January 23, 2013  10:37 PM
AS/400, AS/400 scripts
asked by:
120 pts.

Script to bring down multiple SBS on multiple LPAR’s
I’m wanting to write script(s) where multiple (V6R1)LPAR’s will have different SBS’s brought down, ROBOT, JDE applications brought down, and SQL packages deleted. Once verified all brought down cleanly, another script(s) will bring them all back up on their perspective LPAR’s cleanly. Of course I will be notified of any issues where recycle isn’t working correctly… [...]

Answer Question   |  June 20, 2012  8:18 PM
AS/400 scripts, V6R1
asked by:
15 pts.

How to create a AS400 Qshell script (.sh) file
Hi, I want to run a command STRQSH CMD (‘/REPORTGENERATOR/move2current.sh’) Where move2current would be a .sh file with commands as below: rm /HPA_CURRENT/_YOUR_AS400_NAME*.CSV cp /REPORTGENERATOR/*$(date ‘+%Y%m%d’)* /HPA_CURRENT #set new owner chown hpa_transf /HPA_CURRENT/*.CSV My question is how to create this move2current.sh file?

Answer Question   |  March 31, 2012  10:45 AM
AS/400 scripts, AS400 qshell script, Qshell, STRQSH
asked by:
115 pts.

AS400 – Shell scripting
cp -r /home/ARC_SETUP/ARC585_DEV/webapps/MA/* /home/backup/manew cp: 001-3007 usage: cp £-r | -R £-H | -L | -P]] £-fhipt] source_file target_file cp £-r | -R £-H | -L | -P]] £-fhipt] source_file … target_directory When iam copying the files from one direcctory to another directorl,iam getting this error in shell command.please correct me,where i went wrong.

Answer Question   |  December 29, 2010  9:07 AM
AS/400 scripts, AS400 Shell command, Shell commands, Shell scripts
asked by:
335 pts.

Creating script file to send AS/400 file to unix using SFTP
Hi, I’m using a script file in an AS400′s IFS to send a file to a Unix server.  lchdir /SFTP/RMDEDTRC                      cd /var/opt/apps/reporting/prod/dat/in/dvcs put RMDDWKP                                rename RMDDWKP RMDDKEP.TXT                     chmod 0766 RMDDKEP.TXT                     quit                                       RMDDWKP is the AS400 file.  I want to send it, then rename it.  It can’t find RMDDWKP.  Why not?  What is the correct code? [...]

Answer Question   |  November 16, 2010  7:30 PM
AS/400, AS/400 scripts, SFTP, Unix
asked by:
90 pts.

unix/shell/PERL scripting on as/400
Hi, is it possible to create and run the unix/LINUX/shell/PERL scripting on as/400 directly?If ye or no plz tell me how does they interact with each other in real time scenario..   regards Ram

Answer Question   |  October 23, 2009  10:54 AM
AS/400 scripts, Perl, PowerShell, Unix
asked by:
1,150 pts.

How to call a stored procedure which is already there in AS400 multiple times?
How to call a stored procedure which is already there in AS400 multiple times? Do i require to create any macro for that, if yes what is the procedure. Please omebody help.

Answer Question   |  March 27, 2009  1:05 PM
AS/400 macros, AS/400 scripts, AS/400 stored procedures
asked by:
10 pts.

AS/400 script or program needed
I want script or a program which can be called so that i can get the specific information from the system and prints for me in Spool file. For example, i want to know all the PF which are attached to Triggers and their action and also the library. Can any one give a sample [...]

Answer Question   |  December 17, 2008  8:51 AM
AS/400 development, AS/400 scripts, AS/400 triggers, Physical File, Spool files
asked by:
5 pts.

1