You can try MPE/iX Intrinsic HPCICOMMAND.
Gopi
> As the subject says it all, I am looking for a MODCAL routine
> to which I can pass a command line (probably 300 chars long)
> for it to execute it at the CI prompt.
>
> In C:
> main()
> {
> char cmd[] = "ls";
> system(cmd);
> }
>
> I want a MODCAL equivalent of this!
>
> Any pointers are highly appreciated.