Unable to create a fixed block dataset using ZFile.bpxwdyn



Support for Java SE, EE & ME, JVM, JNI, JDBC, EJB, JFC, JPDA, JAAS,JCE, JAXP, XML and Java API.

Unable to create a fixed block dataset using ZFile.bpxwdyn

Postby pramodkumar » Fri Sep 14, 2012 6:44 pm

Hi,

I am using the following lines of code to create a dataset with some attributes, expecting it to create a fixed block dataset. But some how it is taking default values. Here is the code:

String targetDD = ZFile.allocDummyDDName();
String totalArgs = "alloc fi(" + targetDD + ") da('abc.def.xyz') reuse new " +
"dsorg(ps) lrecl(80) recfm(fb) tracks space(100,50) blksize(800) catalog msg(wtp)";
ZFile.bpxwdyn(totalArgs);
ZFile.bpxwdyn("free fi(" + targetDD + ") msg(wtp)");

Request you to look into this issue.

Regards,
Pramod
pramodkumar
 
Posts: 1
Joined: Fri Sep 14, 2012 6:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Unable to create a fixed block dataset using ZFile.bpxwd

Postby enrico-sorichetti » Fri Sep 14, 2012 6:46 pm

Request you to look into this issue.


watch Your manners, You are not in the position to request anything from anybody,

we reply ..
on our own time
free of charge

there is no commitment on our side to reply, provide help
there should be no expectation on Your side to receive any :evil:

furthermore tHe topic is duplicate of
http://ibmmainframes.com/about59473.html

You should remember that is improper to post the same question on multiple forums
even more because the people answering on ibmmainframes are the same who answer here
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Unable to create a fixed block dataset using ZFile.bpxwd

Postby Akatsukami » Sat Sep 15, 2012 12:12 am

enrico-sorichetti wrote:
Request you to look into this issue.


watch Your manners, You are not in the position to request anything from anybody

I feel that you are being unduly harsh. To "request" is merely to ask that a thing be done. You may have been thinking of "require" (or even the formal "request and require"), which I agree would have been presumptuous of him.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Unable to create a fixed block dataset using ZFile.bpxwd

Postby steve-myers » Sun Sep 16, 2012 5:36 am

Rather than post here, what pramodkumar really should have done is check the documentation for BPXWDYN in Using REXX and z/OS UNIX System Services for pramodkumar's z/OS release. The documentation will tell pramodkumar exactly what he did wrong AND how to correct it.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to Mainframe Java

 


  • Related topics
    Replies
    Views
    Last post