No output when debugging File Tayloring using ISPFTTRC

323 views Asked by At

I am attempting to debug a small file tailoring job but don't get any output when attempting to use the trace command ISPFTTRC which is described at

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.f54dg00/ispfttrc.htm#ispfttrc

The REXX interprets without warnings.

I have also tried coding the command as "ISPFTTRC LIST" but this did not work.

I'd like to:

  1. Get the ISPFTTRC command to return some output since it will be useful for future debugging.

  2. Fix the problem with the job.

Any help would be much appreciated, thanks.

Here is the JCL:

//DOIT     EXEC PGM=IKJEFT01,
//             PARM='ISPSTART CMD(NDRACMQ)'
//SYSPROC  DD DISP=SHR,DSN=&SYSUID..ALL.REXX
//*    --- ISPF FILES ---
//ISPSLIB  DD DISP=SHR,DSN=&SYSUID..ALL.SKELS
//*    --- OUTPUTS ---
//ISPFILE  DD DISP=SHR,DSN=&SYSUID..ALL.SKELS(NDSACMO)   tailored output
//ISPFTTRC DD DISP=SHR,DSN=&SYSUID..ISPFTTRC      debugging output
//*    --- MORE ISPF FILES ---
//ISPPROF  DD DSN=&&ISPPROF,DISP=(NEW,DELETE,DELETE),
//             LRECL=80,RECFM=FB,DSORG=PO,SPACE=(TRK,(2,2,2))  
//ISPPLIB  DD DISP=SHR,DSN=&SYSUID..ALL.PARMLIB        needed? I think not
//ISPTLIB  DD DISP=(NEW,DELETE,DELETE),DSN=&&ISPTLIB,
//             SPACE=(TRK,(1,1,1)),LIKE=SYS1.SYSTLIB
//         DD DISP=SHR,DSN=SYS1.SYSTLIB
//ISPMLIB  DD DISP=SHR,DSN=SYS1.SYSMLIB
//*    --- OTHER FILES ---
//SYSPRINT DD SYSOUT=*
//ABNLDUMP DD DUMMY
//SYSTSIN  DD DUMMY
//SYSTSPRT DD SYSOUT=*

The REXX (simplified):

/* REXX - Bulk ACM queries */ ISPFTTRC LIST "ISPEXEC FTOPEN" ele=aaaaa "ISPEXEC FTINCL NDSACMQ" ele=bbbbb "ISPEXEC FTINCL NDSACMQ" "ISPEXEC FTCLOSE" exit

The skeleton code from &SYSUID..ALL.SKELS(NDSACMQ):

)CM *-----------------------------------------------------------------*
)CM * Skeleton SCL used to create bulk ACM queries.                   *
)CM *-----------------------------------------------------------------*
   LIST USING COMPONENTS FOR
       ELEMENT  &ELE       ENVIRONMENT   *
       SYSTEM   *          SUBSYSTEM     *
       TYPE     *          STAGE NUMBER  *
   OPTIONS
.
1

There are 1 answers

0
Frantech On

Output was going to a dynamically allocated file &SYSUID.**.ISPFT.TRACE.

The way to code the ISPFTTRC command in the REXX was simply "ISPFTTRC" without the quotes, this gives output.

Checking the RC from the command within the REXX was helpful.

I will be able to resolve the problem with the job now that I have trace output.