Script errors Questions

1

Capture Return value of Script in CL Program
Hi I am running a script file which returns some value at the end of the script. i.e. the last line of my script is “exit returnVal”. The value is also populating in the returnVal variable correctly but I don’t know how can we capture this return value in my cl program. Could anyone please [...]

Answer Question   |  March 9, 2011  8:54 AM
AS/400, CL Program, CL programming, Script errors
asked by:
120 pts.

Korn Shell to PowerShell
I’m new to shell scripting, and I have a query. Is it possible to convert a Korn Shell (ksh) script to PowerShell? I would like to convert the script below. Can anyone help? MY_NAME=${0##*/ }                  # establish script base name USAGE="USAGE: ${MY_NAME} <dlr_#> <stream name> <first hour> <optimize session number> <stream type> <full BUILD flag [...]

Answer Question   |  July 26, 2011  2:39 PM
Korn Shell, PowerShell, PowerShell Scripts, Script errors, Scripting, Scripting languages
asked by:
6,315 pts.

error: health) was unexpected at this time.
I run a script which send a set of text files to email ids. When I run each line of the script separately on the cmd, email sending is successful. But when I place all the lines in a script say script.bat and run the script , I am getting the error   :  [strong]health) was unexpected [...]

Answer Question   |  April 22, 2010  12:26 PM
Microsoft Windows 2000, Script errors, Windows 2000 Server, Windows Batch Files
asked by:
20 pts.

Debugging Errors….is that a problem with connectivity?
I get a lot of “script and debugging” errors when I’m in IE. I’m a teleworker and I use a web based programmed called Siebel to input and research data, which a “debugging or script” error pops up in the middle of and deletes all my informaion. Does that issue have anything to do with [...]

Answer Question   |  April 19, 2011  10:23 PM
Internet Explorer, Network connectivity, Script errors
asked by:
10 pts.

1