Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what happens f blockSize specified in DCB and COBOL Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sunojsm
Warnings : 1

New User


Joined: 21 Jun 2004
Posts: 33
Location: Andorra

PostPosted: Sat Apr 23, 2005 11:14 pm    Post subject: what happens f blockSize specified in DCB and COBOL Program
Reply with quote

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
View user's profile Send private message

maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sun Apr 24, 2005 2:07 am    Post subject: Re: occurs
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Apr 24, 2005 3:14 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us