On Sat, 20 Sep 2008 22:20:11 -0300, Claudio Marcio <[EMAIL PROTECTED]> wrote:

>Hello,
>
>I'm using below camando:
>
>//INPUT DD
>P=SHR                                    - EBCDIC MEMBER
>
>// OUTPUT DD DSN=xxxxxxx.yyyy.zzzzzz(member2),DISP=(,CATLG,DELETE),       -
>create new ASCII member in same dataset of the INPUT
>
>member i
>
>//  DCB=(DSORG=PO,RECFM=FB,LRECL=80,BLKSIZE=27920)
>
>//SYSTSIN DD *
>
>OCOPY INDD(xxxxxxx.yyyy.zzzzzz(member)) OUTDD(xxxxxxx.yyyy.zzzzzz(member2))
>TEXT CONVERT((BPXFX311)) FROM1047
>
>returns the following error message:
>IEF344I JOBCONV STEPCONV OUTPUT - ALLOCATION FAILED DUE TO DATA FACILITY
>SYSTEM
>
>IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET
>
>can you help me?
>
>Regards
>
>
>
>
>
>----- Original Message -----
>From: "John McKown" <[EMAIL PROTECTED]>
>Newsgroups: bit.listserv.ibm-main
>To: <[email protected]>
>Sent: Saturday, September 20, 2008 12:46 AM
>Subject: Re: Data conversion EBCDIC to ASCII
>
>
>> On Fri, 19 Sep 2008, Claudio Marcio wrote:
>>
>>> Hello,
>>>
>>> How do I convert a member with data EBCDIC to ASCII in the TSO
>>> environment?
>>>
>>> thanks
>>> Claudio
>>
>> A bit more information, please. Are you meaning in ISPF edit? Or do you
>> mean a TSO command processor to do it? That is, some command such as:
>>
>> E2A input.ebcdic.file output.ascii.file
>>
>> ?
>>
>> In the latter case, you could possibly use the OCOPY command.
>>
>> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZA580
>>
>> OCOPY INDD(EBCDIC) OUTDD(ASCII) TEXT CONVERT(BPXFX311) FROM1047
>>
>> This translates from EBCDIC code page 1047 (C language, UNIX) to ASCII
>> code page ISO8859-1.
>>
>> --
>> Q: What do theoretical physicists drink beer from?
>> A: Ein Stein.
>>
>> Maranatha!
>> John McKown
>>


Your parameters are inconsistent.  You have OUTDD and INDD which are
DD-related, not DSN.  Also, you specify DISP=(,CATLG,DELETE) but no SPACE=
parameter, which would be required so you can provide directory-blocks.  I
would recommend pre-allocating the PDS with all required parameters, and in
a second step use DISP=OLD with the member name specified in the DSN=
parameter.  And, again, verify the proper syntax/specification of INDD(?)
and OUTDD(?).


Scott Barry
SBBWorks, Inc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to