Search found 5 matches

by BappiL
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: 955

Re: REXX in batch and stand alone behaves differently.

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. FINIS&q...
by BappiL
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: 955

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 (STEM OUT1. ...
by BappiL
Fri Dec 04, 2015 11:51 am
Forum: JCL - Job Control Language.
Topic: Using ZERO BLKSIZE in JCL.
Replies: 6
Views: 969

Re: Using ZERO BLKSIZE in JCL.

vikriih wrote:BLKSIZE=0 means that developer does not want to specify the BLKSIZE and it will be defaulted to system determined
Is it always so?
by BappiL
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: 935

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 b...
by BappiL
Sat Oct 17, 2015 1:55 pm
Forum: JCL - Job Control Language.
Topic: Using ZERO BLKSIZE in JCL.
Replies: 6
Views: 969

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?

Go to advanced search