Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Syncsort convert exisiting PS file of type FB to VB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Syncsort convert exisiting PS file of type FB to VB
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: 2285
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:15 pm    Post subject:
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    Post subject: Syncsort convert exisiting PS file of type FB to VB
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: 2285
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:22 pm    Post subject:
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    Post subject: Syncsort convert exisiting PS file of type FB to VB
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: 2285
Location: @my desk

PostPosted: Thu Aug 13, 2009 3:48 pm    Post subject:
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    Post subject: Syncsort convert exisiting PS file of type FB to VB
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

Site Director


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

PostPosted: Thu Aug 13, 2009 8:49 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us