Subject: | |
From: | |
Reply To: | |
Date: | Thu, 15 Nov 2001 01:43:46 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 9:07 +0000 11/15/01, Jay Chandru wrote:
>(1)
>I want to check if a file exists, then execute a set of FCOPY commands and
>if it does not exist, execute another set of FCOPY commands. I want to
>achieve this in a single job. If i can, pls let me know.
At the MPE prompt do
:help finfo
What you probably need to do in your job is something like
!if finfo('YYY', 'exists')
! # do one set of commands
!else
! # do something else
!endif
>(2)
>Can i do substringing in a Job? If yes can u provide me an example.
Depends upon what you want to "substring", but most likely, yes.
At the MPE prompt do
:help functions
That will give you a summary of all the CI expression evaluator functions,
among which is the STR fucntion, for general string extraction. For more
info on that do
:help STR
Hope this helps!
Barry Lake [log in to unmask]
Allegro Consultants, Inc. http://www.nospam.allegro.com
(408)252-2330
-------------
Remove ".nospam" to create valid address.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|