Hi
When i execute a program cobol in the JCL i use
//SYSTSIN DD *
DSN SYSTEM(DB2P)
RUN PROGRAM(PROGNAME) PLAN(PLANNAME)
/*
i search to find a way to get the name of the DSN Connect in the program cobol (DB2P)
but i don't see how do this.
pearhaps by using a EXEC SQL SELECT ..........END-EXEC but i don"t know whet column or function use.
thank you to anyone will help me to do this.
Thank you.
Christophe