View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
How to convert exisiting PS file of type FB to VB. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Can you show some sample data? |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
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. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
The above which i pasted is real data |
Oh yes!. it looks like 'real' data. 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 |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|