Page 1 of 1

Can we pass user params to a DLI program in IMS database?

Posted: Thu Oct 01, 2015 2:22 pm
by Juzer K
Hi,

Can we pass user parameters to a COBOL IMS DLI program? For a non IMS COBOL program, we can pass parametes in JCL itself and receive them in Linkage Section but how can we achieve a similar action in IMS DLI pgm?

This is how we are executing our IMS program:

Code: Select all

//IMSPGM1  EXEC PGM=DFSRRC00, 
//   PARM='DLI,IMSPSB1,IMSPSB1,,,,,,,,,,,Y' 
This way we pass the PSB and program name in the PARM value in the JCL but not the user parameters. Is there a way to do this?


Thanks