Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us