i have a REXX in a job :
//IKJ EXEC PGM=IKJEFT1A
//SYSTSIN DD *
PROFILE NOPREFIX
ISPSTART CMD(%SDAR)
//SYSPROC DD DSN=REXX.V12.ISPCLIB,DISP=SHR
//SYSEXEC DD DISP=SHR,DSN=&REXXLB
//SYSTSPRT DD SYSOUT=*
//ISPLOG DD DUMMY
//ISPPROF DD DSN=&&PROF,DISP=(NEW,PASS),
// DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB),
// SPACE=(TRK,(2,1,2)),UNIT=VIO
//ISPMLIB DD DSN=REXX.V12.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=REXX.V12.SISPSENU,DISP=SHR
//ISPPLIB DD DSN=REXX.V12.SISPPENU,DISP=SHR
//ISPTLIB DD DSN=REXX.V12.SISPTENU,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//ISPLOG DD SYSOUT=*,
// LRECL=120,BLKSIZE=2400,DSORG=PS,RECFM=FB
//*
//IN DD DISP=SHR,DSN=FIC.TEST
//SYSTSIN DD *
PROFILE NOPREFIX
ISPSTART CMD(%SDAR)
//SYSPROC DD DSN=REXX.V12.ISPCLIB,DISP=SHR
//SYSEXEC DD DISP=SHR,DSN=&REXXLB
//SYSTSPRT DD SYSOUT=*
//ISPLOG DD DUMMY
//ISPPROF DD DSN=&&PROF,DISP=(NEW,PASS),
// DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB),
// SPACE=(TRK,(2,1,2)),UNIT=VIO
//ISPMLIB DD DSN=REXX.V12.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=REXX.V12.SISPSENU,DISP=SHR
//ISPPLIB DD DSN=REXX.V12.SISPPENU,DISP=SHR
//ISPTLIB DD DSN=REXX.V12.SISPTENU,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//ISPLOG DD SYSOUT=*,
// LRECL=120,BLKSIZE=2400,DSORG=PS,RECFM=FB
//*
//IN DD DISP=SHR,DSN=FIC.TEST
and i would like to know the disp of the dataset with the ddname IN.
Actually, i successed to get the name of the dataset with this command
WA = LISTDSI('FICIN FILE')
FICA = SYSDSNAME
FICA = SYSDSNAME
How can i do to know the DISP of the dataset in my REXX ?
Because the disp could be MOD or SHR etc...
Thank's for your Help.