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 |
what is the maximum error code in mainframe
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
how many bytes do SPPPP999 will store?
File status must be checked both while opening and reading the file or only while reading the file?
What is the LINKAGE SECTION used for?
Is It Possible to Update or change in VIEW Mode?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
How you can read the file from bottom?
how to move the records from file to array table. give with code example
where will we code call by content and call by reference dude pls reply soon ?