View previous topic :: View next topic
|
Author |
Message |
Ace
New User
Joined: 03 May 2007 Posts: 14 Location: Delhi
|
|
|
|
I am not able to create the dataset from spool. XDC command does create the proper dataset but when I browse the dataset it gives me error 'Invalid Block size'. This is information which I am providing. When I do the XDC and give this information. The dataset is created but it gives me the error.
Data set name ===> 'TEST.DK.HELLO'
Member to use ===>
Disposition ===> NEW (OLD, NEW, SHR, MOD)
If the data set is to be created, specify the following.
Volume serial will be used to locate existing data sets if specified.
Management class ===> (Blank for default management class)
Storage class ===> (Blank for default storage class)
Volume serial ===> (Blank for authorized default volume)
Device type ===> (Generic unit or device address)
Data class ===> (Blank for default data class)
Space units ===> CYLS (BLKS, TRKS, CYLS, BY, KB, or MB)
Primary quantity ===> 10 (In above units)
Secondary quantity ===> 5 (In above units)
Directory blocks ===> (Zero for sequential data set)
Record format ===> FB
Record length ===> 134
When I try to brose the file it gives me the following error. I guess some setting needs to be done but I am not sure how to it. Can anybody help me out.
Error message is:"Invalid Block size"
DSLIST - Data Sets Matching TEST.DK.HELLO Invalid block size
Command ===> Scroll ===> CSR
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
B TEST.DK.HELLO ALBT22 |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
What is the Block size you have given for that dataset?
Is that dataset PDS or PS? |
|
Back to top |
|
|
Ace
New User
Joined: 03 May 2007 Posts: 14 Location: Delhi
|
|
|
|
I did not give any Blocksize here. I do not see any column where I can give the Blocksize in the above screen....
I just want to create a new PS. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Fine. You can give Block Size and Dataset Type in that screen. Press F8 to to see them. Give Block Size in the multipes of Record Length.
Without these also, this should work. I am not sure What is the reason for that error.
I think Record Length 133 is enough. Correct me if I am wrong. |
|
Back to top |
|
|
Ace
New User
Joined: 03 May 2007 Posts: 14 Location: Delhi
|
|
|
|
I do not see any column where I can give the blocksize. I did F8 but it does not work because this the only page which I am getting.
And I am pretty sure about the record length of 134. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
I use (E)JES JES3 Spool Interface Facility for SPOOL. In that, I don't have XDC option. Instead, I can use E for the same.
It's working fine. And it has Block Size and Dataset Type also.
You please discuss this with System Support People.
Correct me if I am wrong. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
What's the value you are providing for
Code: |
Directory blocks ===> (Zero for sequential data set) |
It should be '0' (zero) for sequential data set or some numerical value greater than'0' for PDS, as suggested. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
This may be the solution.
Check the ORGANIZATION and DATA SET TYPE of your dataset created.
Are they okay as you expected????
Once I tried to create PS using IEFBR14 .
The code was,
Code: |
//FILEA DD DSN=SSSS.EEEE.DSE,DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(10,10),RLSE),DCB= (RECFM=FB,LRECL=80,BLKSIZE=0) |
Here I had to give DSORG, but not given. And BLKSIZE had to be given. So,it created a Dateset Which is not usable. When I tried to Edit, it showed error message.
INVALID BLOCK SIZE
Block size of data set must not be zero.
And I Came to know,
its Organization . . . : NONE
So, that dataset is neither PDS nor PS.
So, make sure that BLOCK SIZE, DATA SET TYPE are given and DIRECTORY BLOCKS is given if it is a member.
Correct me if I am wrong. |
|
Back to top |
|
|
Ace
New User
Joined: 03 May 2007 Posts: 14 Location: Delhi
|
|
|
|
I saw the organisation and it is PS. Here, the problem I see is the Blocksize, its showing as 3120 which is not multiple of 134.
But on the XDC screen I don't see any colum where I can specify Blocksize. Do I need to use any command so that it get showed on the screen. |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
Also not sure if this is applicable (spool == sdsf?) if so, enter SE on the line/job you want to put out to a file. It will open in edit mode and type save on the command line. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1050 Location: Richmond, Virginia
|
|
|
|
I use XDC by copying to a pre-allocated PDS hlq.xxxxxxxx.PRINTPD, generally a different one for each project, using DISP=SHR
Organization . . . : PO
Record format . . . : FBA
Record length . . . : 133
Block size . . . . : 27930
1st extent cylinders: 5
Secondary cylinders : 5
Data set name type : PDS |
|
Back to top |
|
|
Ace
New User
Joined: 03 May 2007 Posts: 14 Location: Delhi
|
|
|
|
I am still facing the problem doing XDC. I got the problem that my record size 134 is not multiple of blocksize 3120. Because my output file is getting created of blocksize 3120.
But I don't see any option where I can change the blocksize in the XDC screen. |
|
Back to top |
|
|
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
How to implement scroll option in ispf panel...so that we can used in implementation of program....can u suggest me with some example....that will be very kind to me |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Raju,
You need to start with a new thread when you have a new question, instead of replying in some other thread. Think, in reply of your question I ask.."what is life?"..what'll be your reaction.. |
|
Back to top |
|
|
Khwairakpam Raju Singh
New User
Joined: 05 Dec 2007 Posts: 29 Location: Bangalore
|
|
|
|
hi,
what I want to do is that I want to implement a program which will display all the member name present in a PDS. the pds contain nearly 60 members an its not possible to display all the member in one ISPF penel. So I am looking for the scroll option so that it will display all the remaining members in same panel when we press PF8, and again we press PF7, it shoul display the previous members....
this is what I want to implement. An I am new to REXX I dont know what to do In ISPF panel disign as well as in code to implement that. So Plz. suggest me with example..
Thank You...... |
|
Back to top |
|
|
|