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

Syncsort convert exisiting PS file of type FB to VB


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Aug 13, 2009 3:11 pm
Reply with quote

How to convert exisiting PS file of type FB to VB.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:15 pm
Reply with quote

Can you show some sample data?
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Aug 13, 2009 3:17 pm
Reply with quote

Code:
1100...{. ..15378303125648008004000000000001101000001090714090101840600010100100
1100...{. ..15378308770654003004000000000002285000002090714090101840600010100100
1100...{. ..15378313121682000004000000000000108000003090714090101840600010100100
1100...{. ..15378317759672001004000000000002162000004090714090101840600010100100
1100...{. ..15378318348673005004000000000028651000005090714090101840600010100100
1100...{. ..15378318596603001004000000000000567000006090714090101840600010100100
1100...{. ..15378357640652002004000000000035583000007090714090101840600010100100
1100...{. ..15378500288631008004000000000004759000008090714090101840600010100100
1100...{. ..15378501821681005004000000000008367000009090714090101840600010100100
1100...{. ..15378503690674004004000000000000612000010090714090101840600010100100
1100...{. ..15378509156671004004000000000000181000011090714090101840600010100100
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:22 pm
Reply with quote

Hello,

I was expecting some sample input records along with the expected output.

Your initial post had something like "converting to binary" and somehow that part "disappeared" now. icon_eek.gif
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Aug 13, 2009 3:29 pm
Reply with quote

The above which i pasted is real data..

input :

Code:
XYZ
ABC
A10
---
---


I want its equivalent binary format of each record in out put VB file
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:48 pm
Reply with quote

Quote:
The above which i pasted is real data
Oh yes!. it looks like 'real' data. icon_evil.gif But what is it? Input or Output? If that was your input, do you mind posting the expected 'real data' output for that?

Also can you explain why do you want to do this conversion? Is this a business requirement?
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Thu Aug 13, 2009 4:39 pm
Reply with quote

Quote:
Input or Output?

its an input data

Quote:
Also can you explain why do you want to do this conversion? Is this a business requirement?

yes its a business requirement

Note : I have no idea to convert from FB to VB

Have used following jcl to convert to binary

Code:
//STEPXXX  EXEC PGM=IKJEFT01                                           
//SYSTERM  DD   DUMMY                                                   
//INPUT    DD   DSN=S22.ATT.CAS.BKUP.NAGMAIN,DISP=SHR   
//OUTPUT   DD   DSN=S22.ATT.CAS.BKUP.NAGEDIT,DISP=SHR   
//SYSTSPRT DD   *                                                       
//SYSTSIN  DD   DATA                                                   
 OCOPY INDD(input) OUTDD(output) TEXT CONVERT((BPXFX311)) FROM1047     
/*             


note : created the output file with the same attributes just like input to convert into binary, but below error is poping up

Code:
IEC020I 001-4,PU7052AX,STEPXXX ,SYSTSPRT,JES                 
IEC020I EROPT IS 'ABE' OR NOT SPECIFIED                       
IEC020I 001-4,PU7052AX,STEPXXX ,SYSTSPRT,JES                 
IEC020I EROPT IS 'ABE' OR NOT SPECIFIED                       
IEA995I SYMPTOM DUMP OUTPUT                                   
SYSTEM COMPLETION CODE=001  REASON CODE=00000000             
 TIME=02.30.47  SEQ=49071  CPU=0000  ASID=0166               
 PSW AT TIME OF ERROR  070C1000   00D61A1C  ILC 2  INTC 0D   
   NO ACTIVE MODULE FOUND                                     
   NAME=UNKNOWN                                               
   DATA AT PSW  00D61A16 - 00181610  0A0D1851  A7C80048       
   AR/GR 0: BB45ED16/80000000   1: 00000000/80001000   


the above jcl has taken from the forum

Type_Description_Herehttp://ibmmainframes.com/viewtopic.php?t=24721&highlight=convert
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 13, 2009 8:49 pm
Reply with quote

Hello,

You need to learn the proper terminology. Making up "stuff" that sounds technical will not get replies you can use.

Show some input data (with HEX ON) and the exact output you want from that data - also in hex.

One does not convert XYZ to "binary". . . Binary is a numeric.

Converting to Variable is mentioned - why? The data is fixed length. . .

Quote:
the above jcl has taken from the forum
If you did not know what the jcl does exactly, the chances of it working are very slight. The abend is most likely due to a dcb conflict.

If you provide the proper info, someone will be able to help.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top