Hi.
The SYSPRINT issue was solved.
Here is my JCL:
//*-------------------------------------------------
//* EXECUTION
//*-------------------------------------------------
//ST01 EXEC PGM=IKJEFT01
//STEPLIB DD DSN=LIQUIDL.PLI.LOAD,DISP=SHR
//SYSPROC DD DSN=DSN2.NEW.SDSNCLST,DISP=SHR
// DD DSN=CEE.SCEELKED,DISP=SHR
// DD DSN=DSN2.SDSNLOAD,DISP=SHR
// DD DSN=ISP.SISPLOAD,DISP=SHR
// DD DSN=DSN2.RUNLIB.ENTPL1.LOAD,DISP=SHR
//*- - ALLOCATE PROFILE, PANELS, MSGS, PROCS, AND TABLES -*/
//ISPPROF DD SPACE=(CYL,(1,1,5),RLSE),UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=23440)
//ISPPLIB DD DSN=ISP.SISPPENU,DISP=SHR
//ISPMLIB DD DSN=ISP.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=ISP.SISPSENU,DISP=SHR
// DD DSN=ISP.SISPSLIB,DISP=SHR
//ISPTLIB DD DSN=LIQUIDL.CSP.CPTABL,DISP=SHR
// DD DSN=ISP.SISPTENU,DISP=SHR
//* DD DSN=LIQUIDL.CSP.DPTABL,DISP=SHR
//* DD DSN=LIQUIDL.CSP.NPTABL,DISP=SHR
//* DD DSN=LIQUIDL.ISPTLIB,DISP=SHR
//[color=#FF0080]ISPTABL DD DSN=LIQUIDL.LIQUID.PTABL, [/color]
// DISP=(,CATLG,DELETE),
// DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB),
// SPACE=(CYL,(1,1,5),RLSE)
//*- - ALLOCATE ISPF LOG DATA SET - - - - - - - - - - - -*/
//ISPLOG DD DSN=LIQUIDL.PLI.ISPF.LOG,DISP=OLD
//*
//*- - ALLOCATE DIALOG PROGRAM AND TSO COMMAND LIBRARIES -*/
//ISPLLIB DD DSN=LIQUIDL.PLI.LOAD,DISP=SHR
//SYSEXEC DD DSN=LIQUIDL.PLI.LOAD,DISP=SHR
//SYSTSPRT DD DSN=LIQUIDL.PLI.SYSTSPRT,
// DISP=OLD
//* DISP=(NEW,CATLG,DELETE),
//* SPACE=(CYL,(5,15),RLSE),
//* DCB=(DSORG=PS,RECFM=VBA,BLKSIZE=0,LRECL=133)
//SYSPRINT DD DSN=LIQUIDL.PLI.SYSPRINT,
// DISP=OLD
//* DISP=(NEW,CATLG,DELETE),
//* SPACE=(CYL,(5,15),RLSE),
//* DCB=(DSORG=PS,RECFM=VBA,BLKSIZE=0,LRECL=133)
//SYSTSIN DD *
ISPSTART PGM(CSPTABML)
Now, I have 2 questions:
1) JCL related:
- This JCL is pure PL/I ISPF. How can I execute a DB2 plan also ? I need to code some SQL sentences within my PL/I-ISPF program.
2) ISPF services related:
- I have to create an ISPF table in the DSN=LIQUIDL.LIQUID.PTABL (ISPTABL).
I have coded the following:
CALL ISPLINK('LIBDEF ',ISPTABL ,'DATASET ',('LIQUIDL.LIQUID.PTABL'));
CALL ISPLINK('TBCREATE','CSPPGDR$','CSPPROD$',
'(CSPDIRN$ CSPTITL$)','WRITE ',' ',ISPTABL);
It compiles ok but at runtime, it displays the message error:
"Invalid dsname length - Data set name specification cannot exceed 44 characters."
What's wrong here ?
I will appreciatte a lot your help on this.
Thank you so much.
Pucca.