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 |
how do you reference the variable block file formats from cobol programs
can we use 77 level no for Redefines?if we use give an example?
What is a scope terminator? Give examples.
how do you reference the fixed unblock file formats from cobol programs
Which Search verb is equivalent to PERFORM…VARYING?
What is the point of the REPLACING option of a copy statement?
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,
.How to add one input & one Out file in existing cobol program. how approach tell me step by step.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,