MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mystification about Variable Block / Fixed block?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Tue Jul 19, 2005 6:27 am    Post subject: Mystification about Variable Block / Fixed block? Reply with quote

Hi,
I have create a dataset in the first step as FIXED BLOCK, now in the 5th step i am using the same data set (which was used in the first step) as VARIABLE BLOCK , with Disp = (Mod,catlg,catlg) . Now what is the status of the dataset X.Y.Z. whether it is Fixed or Variable or getting any abend.


//ABC JOB Notify=xxxx,....
//S1 ....
//DD1 DD DSN = X.Y.Z, DISP = (NEW,CATLG,DELETE), DCB=(LRECL=80,RECFM=FB ..... )
//S2 ....
//S3....
//S4....
//S5
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Jul 19, 2005 7:00 am    Post subject: Reply with quote

What happened when you tried?

AFAIK, it really depends what program is being executed in S5 ?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Tue Jul 19, 2005 7:24 am    Post subject: Reply with quote

In that step5 i am using a the dataset as input file to some other cobol program.
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Jul 19, 2005 7:50 am    Post subject: Reply with quote

Then, if
- your COBOL program has a FD entry with RECORD CONTAINS m CHARACTERS and BLOCK CONTAINS n RECORDS (m,n ^= 0)
- you have coded the DCB as you have mentioned,

you will most probably hit S013-20 abend. (DCB parameter mismatch).
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Wed Jul 20, 2005 12:39 am    Post subject: Reply with quote

Thank u boss,
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group