Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Not able to do XDC command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Not able to do XDC command
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: 785
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 10:13 am    Post subject:
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    Post subject: Reply to: Not able to do XDC command
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: 785
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 10:36 am    Post subject:
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    Post subject: Reply to: Not able to do XDC command
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: 785
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 1:37 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Dec 06, 2007 2:26 pm    Post subject:
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: 785
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 7:42 pm    Post subject:
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    Post subject: Reply to: Not able to do XDC command
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    Post subject:
Reply with quote

Do some searches. This has been asked before

http://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    Post subject:
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

Active Member


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

PostPosted: Fri Dec 07, 2007 6:48 pm    Post subject:
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    Post subject: Reply to: Not able to do XDC command
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    Post subject: How to use scroll in ispf panel.
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

Senior Member


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

PostPosted: Tue Dec 11, 2007 12:06 pm    Post subject:
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    Post subject: syntex of implementation of scroll in rexx
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us