View previous topic :: View next topic
|
Author |
Message |
sunojsm Warnings : 1 New User
Joined: 21 Jun 2004 Posts: 33 Location: Andorra
|
|
|
|
helo all,
1. What is the reason that 'OCCURS' clause cannot be not used in 01 Level.
2. Block size can be specified both in cobol pgm and in DCB parameter of JCL. If both r coded, wht will happen ? Which one will it take?
bye |
|
Back to top |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Hi,
For ur first Q,there is an option at the top called SEARCH,please check there b4 posting..Anyhow,occurs cannot be used at 01 level as 01 is generally used for describing records and occurs concept is used not for repeating records but for repeating fields of the records of the same type.
For ur Q2,blocksize of both ur cobol pgm and JCL should match,otherwise u'll get error code 39 i guess. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi,
1. This has been posed here before, but none of the ans ring true to my ear.
2. When a dataset is processed by the system it goes thru what is called the "DCB merge". DCB info in the JCL can be cds label/DSCB this info, in turn, can be overridden by DCB info in the pgm.
If DCB info is not overridden by succeeding merge steps it is retained. |
|
Back to top |
|
|
|