Why the ISFROWS1 is diffenent between on batch with ISPF



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Why the ISFROWS1 is diffenent between on batch with ISPF

Postby ibmrexx » Fri May 28, 2010 11:14 am

I have the following questions :

1.Running my REXX under ISPF/PDF

under ispf p.6

EX TEST.BJSP55.ZTB9TMP(SCHDA04)
/* REXX */
RC=ISFCALLS(ON)
ISFOWNER ="BJSP55"
ADDRESS SDSF "ISFEXEC ST (DELAYED ALTERNATE)"
IF RC<>0 THEN EXIT RC
SAY "NUMBER OF ROWS RETURNED:" ISFROWS
RC=ISFCALLS(OFF)
EXIT 0

*****************************************************************

output:
3 *-* RC=ISFCALLS(ON)
4 *-* SAY 'RC1=' RC
RC1= 0
5 *-* ISFOWNER ="CCBSP02"
6 *-* ADDRESS SDSF "ISFEXEC ST (DELAYED ALTERNATE)"
>>> "ISFEXEC ST (DELAYED ALTERNATE)"
7 *-* SAY 'RC2=' RC
RC2= 0
8 *-* SAY "ISFROWS1:" ISFROWS
ISFROWS1: 27
9 *-* IF RC<>0
10 *-* SAY "NUMBER OF ROWS RETURNED:" ISFROWS
NUMBER OF ROWS RETURNED: 27
11 *-* RC=ISFCALLS(OFF)
12 *-* EXIT 0

********************************************************************

2.Running the REXX on batch

//RUNSCHDA JOB ADM#,TIME=1440,NOTIFY=&SYSUID,CLASS=2,
// MSGCLASS=X,MSGLEVEL=(1,1),REGION=4M
//JOBLIB DD DSN=DSN810.SDSNLOAD,DISP=SHR
//RUNREXX EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=0M
//SYSEXEC DD DISP=SHR,DSN=TEST.BJSP55.ZTB9TMP
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%SCHDA04
/*
output:
********************************* TOP OF

3 *-* RC=ISFCALLS(ON)
4 *-* SAY 'RC1=' RC
RC1= 0
5 *-* ISFOWNER ="CCBSP02"
6 *-* ADDRESS SDSF "ISFEXEC ST (DELAYED ALTERNATE)"
>>> "ISFEXEC ST (DELAYED ALTERNATE)"
7 *-* SAY 'RC2=' RC
RC2= 0
8 *-* SAY "ISFROWS1:" ISFROWS
ISFROWS1: 0
9 *-* IF RC<>0
10 *-* SAY "NUMBER OF ROWS RETURNED:" ISFROWS
NUMBER OF ROWS RETURNED: 0

******************************** BOTTOM O

Why the ISFROWS1 is diffenent between on batch with under ISPF/PDF?

Thanks a lot!

Best Regards,

Jason Cai
ibmrexx
 
Posts: 1
Joined: Fri May 28, 2010 11:06 am
Has thanked: 0 time
Been thanked: 0 time

Re: Why the ISFROWS1 is diffenent between on batch with ISPF

Postby enrico-sorichetti » Sat May 29, 2010 1:16 pm

posting the same questions to multiple forums is considered bad manners...
people hanging on the MVS/zOS related forums are mostly the same,
seeing the same question asked over and over is an annoyance
and You will not get double answers in the same time or the same answers in half time :evil:
and the duplicate answers with the same info are just a waste of time for everybody!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post