# Error calling proc

**URL:** <https://community.f5.com/t/error-calling-proc/50724>\
**Category:** Technical Forums\
**Tags:** irules, devops, application-delivery\
**Created:** [January 9, 2014, 2:34am UTC](https://community.f5.com/t/error-calling-proc/50724 "2014-01-09T02:34:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uni](https://avatars.discourse-cdn.com/v4/letter/u/9d8465/32.png) [@uni](https://community.f5.com/u/uni)\
**Post date:** [January 9, 2014, 2:34am UTC](https://community.f5.com/t/error-calling-proc/50724/1 "2014-01-09T02:34:50Z")

</div>

I was just playing with the new proc call in 11.4.1 HF1, and had a simple example working briefly but after changing a couple of things it stopped working. I’ve cut my example down to the simplest I can, and it is still broken. Here is the rule:

```tcl
ltm rule stg {
    partition dmz
    proc something { } {
        log local0. "in the proc"
    }

    when HTTP_REQUEST {
        [call something]
        log local0. "finished the proc"
    }
}

```

and this is the log output:

```tcl
Jan 9 13:52:35 lb1 info tmm5[10176]: Rule /dmz/stg : in the proc
Jan 9 13:52:35 lb1 err tmm5[10176]: 01220001:3: TCL error: /dmz/stg - invalid command name "" while executing "[call something]"

```

It is too simple, it must be me, I just can’t see what the problem is. Any ideas?

---

<div class="post-metadata">

**Author:** ![Nat\_Thirasuttakorn](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@Nat\_Thirasuttakorn](https://community.f5.com/u/Nat_Thirasuttakorn)\
**Post date:** [January 9, 2014, 2:51am UTC](https://community.f5.com/t/error-calling-proc/50724/2 "2014-01-09T02:51:17Z")

</div>

I guess you need to remove the square bracket

[call something]

to

call something
