Open topic with navigation

TIBCO GridServer® 7.1.0

# The Basic Script

All of the blocks in a PDS script are optional except two. Each PDS script requires the following blocks:

| 1. | A basic PDS script consists of a `job` block. This begins with the line `job` `jobname`, where `jobname` is the name of your PDS job, and ends with `end job`. More advanced scripts can contain multiple `job` blocks which are run serially by default.

| 2. | The other required block is the `task` block which is in the `job` block, and begins with `task` `taskcount` and ends with `end`.

Our `simplejob.pds` script from the previous section, contains these two required blocks:

    #From the last section
    job simplejob

    task 10
        log "hello, world"
    end
    end job

A few other points to mention about PDS scripts. First, PDS is case-sensitive. Also, in PDS, whitespace is not significant. In fact, you can include multiple statements on one line, or even write an entire PDS script on a single line, although it’s easier to read with a statement per line. And any text after a ‘#’sign on a line iss ignored, and can be used as a comment, as shown above.

Note that each of the remaining blocks we discuss typically begin with the name of the block and end simply with an `end`.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.