Page 1 of 1

LMINIT RC8

PostPosted: Thu Aug 20, 2009 5:04 pm
by eprasad629
Hi,

Good Day !!!

I'm trying to write a entry into a sequential file with the help of ISPEXEC services. For that I'm trying to initialize the dataset using the following command,

"lminit dataid(fread) dataset('insdevl.compbind.input') enq(shrw)"


When tried I'm getting RC 8. However if I specify ENQ(SHR) instead of SHRW, I'm getting RC 0. :!:

Could you please help me on this?

Many thanks in Advance.

Re: LMINIT RC8

PostPosted: Thu Aug 20, 2009 7:27 pm
by expat
Do you not have access to the ISPF services manual ?
The correct use of SHRW is given in detail.

Yes, this is the students and freshers forum, but even so, you are still expected to do your own research.

Re: LMINIT RC8

PostPosted: Fri Aug 21, 2009 3:47 pm
by eprasad629
Hello Expat,

Apologies. I had referred the SHRW option and came to know that it should be used for PDS. I have corrected and a'm able to proceed now.

Thanks a lot for your suggestions.

Re: LMINIT RC8

PostPosted: Fri Aug 21, 2009 4:45 pm
by expat
Well done,

You now know where the manual is and how to use it. That is one of the the first steps to learning how to solve your own problems and learn new things from the experience. Hopefully as you become more experienced you will grow into one of those that will stay on the forum and help others in the future 8-)