Sorry for the typos. Please see the below code:
/* REXX */
"EXECIO * DISKR INFILE (STEM LINE1. FINIS"
J = 1
DO J=1 TO LINE1.0
IF SUBSTR(LINE1.J,104,13) = 'ARCHIVE DATE:' THEN
DO
OUT1.J = SUBSTR(LINE1.J,104,25)
J=J+1
END
ELSE
J=J+1
END
SAY RC
"EXECIO * DISKW OUTFILE (STEM OUT1 ...
Search found 5 matches
- Fri Dec 04, 2015 8:35 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: REXX in batch and stand alone behaves differently.
- Replies: 7
- Views: 2643
- Fri Dec 04, 2015 3:16 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: REXX in batch and stand alone behaves differently.
- Replies: 7
- Views: 2643
REXX in batch and stand alone behaves differently.
Hi,
I am trying to run the following REXX using a JCL:
/* REXX */
"EXECIO * DISKR INFILE (STEM LINE1. FINIS"
J = 1
DO J=1 TO LINE1.0
IF SUBSTR(LINE1.I,104,13) = 'ARCHIVE DATE:' THEN
DO
OUT1.J = SUBSTR(LINE1.I,104,25)
J=J+1
END
ELSE
J=J+1
END
SAY RC
"EXECIO * DISKW OUTFILE ...
I am trying to run the following REXX using a JCL:
/* REXX */
"EXECIO * DISKR INFILE (STEM LINE1. FINIS"
J = 1
DO J=1 TO LINE1.0
IF SUBSTR(LINE1.I,104,13) = 'ARCHIVE DATE:' THEN
DO
OUT1.J = SUBSTR(LINE1.I,104,25)
J=J+1
END
ELSE
J=J+1
END
SAY RC
"EXECIO * DISKW OUTFILE ...
- Fri Dec 04, 2015 11:51 am
- Forum: JCL - Job Control Language.
- Topic: Using ZERO BLKSIZE in JCL.
- Replies: 6
- Views: 3294
Re: Using ZERO BLKSIZE in JCL.
Is it always so?vikriih wrote:BLKSIZE=0 means that developer does not want to specify the BLKSIZE and it will be defaulted to system determined
- Fri Dec 04, 2015 11:49 am
- Forum: IBM DB2 and IMS DB/DC
- Topic: A question about SQLCODE -811 in DB2.
- Replies: 1
- Views: 2583
A question about SQLCODE -811 in DB2.
Hi,
Assuming I am working on a COBOL DB2 program. A batch program. I execute a SQL query in the program which causes a SQLCODE -811. Now which row will be fetched in DCLGEN or host variable as the select statement had fetched more than one row and with -811 SQL code? Obviously there are duplicates ...
Assuming I am working on a COBOL DB2 program. A batch program. I execute a SQL query in the program which causes a SQLCODE -811. Now which row will be fetched in DCLGEN or host variable as the select statement had fetched more than one row and with -811 SQL code? Obviously there are duplicates ...
- Sat Oct 17, 2015 1:55 pm
- Forum: JCL - Job Control Language.
- Topic: Using ZERO BLKSIZE in JCL.
- Replies: 6
- Views: 3294
Using ZERO BLKSIZE in JCL.
Hi,
I was thinking that if I male BLKSIZE ZERO in JCL for perticular dataset, it will loose any data on output file. But it did not do so. Why this happens?
I was thinking that if I male BLKSIZE ZERO in JCL for perticular dataset, it will loose any data on output file. But it did not do so. Why this happens?