Difference between lrecl, blksize among PS, PDS issues?
i.e in jcl at dcb
Answer / guest
asper my knowledge
lrecl is the actual length for fixed length records and for
variable lenth records it is longest record lenth + 4 bytes.
this length is specified in bytes.
blocksize(blksize) is specified in multiples of lrecl.
in jcl dcb for
for ps -- dcb=(lrecl=m) --- there wil b no blksize.
pds -- dcb=(lrecl=m,blksize=n) -- say n = m*80
if i'm wrong plz let me know..
| Is This Answer Correct ? | 0 Yes | 5 No |
Mention the guidelines to write a structured cobol program?
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
How do get the result of your program directly on your pc?
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
i need a small 3d program using inline and outline.