Jump to content

Logo

- - - - -

Solved : Session with errorhandling


1 reply to this topic

#1 grinnalot

    Newbie

  • Members
  • 7 posts

Posted 17 August 2010 - 01:35 PM

Hi,

For automating purposes I want to create a session from the command line.
As long as I use solid jobs all is fine but then I want to use a generic job, which I supply with numbers and then I cannot give a follow up. This is what I mean


This part goes fine

$UXEXE/uxadd SES APP ses=CDRDU0320 label=\"Upload datastroom 00320\" header=CDRHU0320 FATHER=CDRHU0320 sonok=\(\(CDRD1U_Z\)\) \
father=CDRD1U_Z sonok=\(\(CDRD2U_S\)\) sonko=\(\(CDRMVFLNOK\(001\)\)\) \
father=CDRD2U_S sonok=\(\(CDRD3U_SA\)\) sonko=\(\(CDRMVFLNOK\(002\)\)\) \
father=CDRD3U_SA sonok=\(\(CDRD5U_Z\)\) sonko=\(\(CDRMVFLNOK\(003\)\)\) \
father=CDRD5U_Z sonok=\(\(CDRMVFILOK\)\) sonko=\(\(CDRMVFLNOK\(004\)\)\) \
father=CDRMVFILOK sonok=\(\(CDRCHKMRFL\)\) sonko=\(\(CDRMVFLNOK\(005\)\)\) \
father=CDRCHKMRFL sonok=\(\(CDRTU0320\)\) sonko=\(\(CDRMVFLNOK\(006\)\)\)


But then I want to procees with a check for more files if the file is not OK ( previous part is ended with "\")

father=CDRMVFLNOK\(001\) sonok=\(\(CDRCHKMRFL\(001\)\)\)

and I get

Identifier not found 001
Identifier argument specification error
command in error!!

SO the numbering/identifying of CDRMVFLNOK does not seem to work
I have tried several alternatives by also unsuccesful

and I was planning to go ahead like this:

father=CDRMVFLNOK\(002\) sonok=\(\(CDRCHKMRFL\(002\)\)\)
father=CDRMVFLNOK\(003\) sonok=\(\(CDRCHKMRFL\(003\)\)\)
father=CDRMVFLNOK\(004\) sonok=\(\(CDRCHKMRFL\(004\)\)\)
father=CDRMVFLNOK\(005\) sonok=\(\(CDRCHKMRFL\(005\)\)\)
father=CDRMVFLNOK\(006\) sonok=\(\(CDRCHKMRFL\(006\)\)\)


Can anyone inform me how to use identifiers in multiple jobs ?

Many thanks in advance


Eric

#2 grinnalot

    Newbie

  • Members
  • 7 posts

Posted 18 August 2010 - 12:38 PM

### SOLVED ###

It is not the combination of uproc and number that has to be unique

The numbers themselves need to be uniques as well ...

eq. if I reference CDRMVFLNOK with \(001\) then any next reference needs to be NOT \(001\)


Eric





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users