IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Not able to do XDC command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ace

New User


Joined: 03 May 2007
Posts: 14
Location: Delhi

PostPosted: Thu Dec 06, 2007 9:33 am
Reply with quote

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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 10:13 am
Reply with quote

What is the Block size you have given for that dataset?

Is that dataset PDS or PS?
Back to top
View user's profile Send private message
Ace

New User


Joined: 03 May 2007
Posts: 14
Location: Delhi

PostPosted: Thu Dec 06, 2007 10:30 am
Reply with quote

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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 10:36 am
Reply with quote

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

New User


Joined: 03 May 2007
Posts: 14
Location: Delhi

PostPosted: Thu Dec 06, 2007 11:41 am
Reply with quote

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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 1:37 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Dec 06, 2007 2:26 pm
Reply with quote

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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 7:42 pm
Reply with quote

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

New User


Joined: 03 May 2007
Posts: 14
Location: Delhi

PostPosted: Fri Dec 07, 2007 6:04 am
Reply with quote

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

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Dec 07, 2007 7:18 am
Reply with quote

Do some searches. This has been asked before

ibmmainframes.com/about3406.html
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Dec 07, 2007 7:20 am
Reply with quote

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

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Dec 07, 2007 6:48 pm
Reply with quote

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

New User


Joined: 03 May 2007
Posts: 14
Location: Delhi

PostPosted: Tue Dec 11, 2007 8:07 am
Reply with quote

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

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Dec 11, 2007 9:41 am
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Dec 11, 2007 12:06 pm
Reply with quote

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.. icon_smile.gif
Back to top
View user's profile Send private message
Khwairakpam Raju Singh

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Dec 11, 2007 2:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top