View previous topic :: View next topic |
Author |
Message |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jul 19, 2005 6:27 am Post subject: Mystification about Variable Block / Fixed block? |
|
|
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 |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Jul 19, 2005 7:00 am Post subject: |
|
|
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 |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jul 19, 2005 7:24 am Post subject: |
|
|
In that step5 i am using a the dataset as input file to some other cobol program. _________________ Sabari
Madras |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Jul 19, 2005 7:50 am Post subject: |
|
|
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 |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Wed Jul 20, 2005 12:39 am Post subject: |
|
|
Thank u boss, _________________ Sabari
Madras |
|
Back to top |
|
|
|
|