Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FB to VB conversion plz help

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jaffarhussain

New User


Joined: 26 Nov 2010
Posts: 30
Location: Hyderabad

PostPosted: Thu Dec 09, 2010 4:34 pm    Post subject: FB to VB conversion plz help
Reply with quote

i have the follwing attached code which I am trying to convert from fb to VB.
I am getting abend S000 U0016 .
Please help met o solve this problem

Attachment deleted. Do not post screen shots.
Back to top
View user's profile Send private message

Arun Raj

Moderator


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

PostPosted: Thu Dec 09, 2010 4:47 pm    Post subject:
Reply with quote

Jaffar Hussain,

You're NOT supposed to post images here. Not everybody can access your attachments. Learn to use 'Code' Tags instead.
icon_evil.gif icon_evil.gif

For your question, you fill find numerous examples here to convert FB to VB and vice-versa.
Back to top
View user's profile Send private message
jaffarhussain

New User


Joined: 26 Nov 2010
Posts: 30
Location: Hyderabad

PostPosted: Thu Dec 09, 2010 4:51 pm    Post subject: Delete the post
Reply with quote

Please delete the post as I am not able to do so and also share the link for the solution
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Dec 09, 2010 4:55 pm    Post subject:
Reply with quote

1) It was no good showing us the input, it is the OUTPUT that will help.

2) For a solution, there is a search button at the top of each page. If you seriously can not find a solution using that, post again.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Dec 09, 2010 5:38 pm    Post subject:
Reply with quote

One possible hint is here: http://www.ibmmainframes.com/viewtopic.php?t=29036&highlight=ftov
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Dec 09, 2010 11:15 pm    Post subject:
Reply with quote

Jaffar,

See the "FB to VB conversion" Smart DFSORT Trick at:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094
Back to top
View user's profile Send private message
jaffarhussain

New User


Joined: 26 Nov 2010
Posts: 30
Location: Hyderabad

PostPosted: Mon Dec 13, 2010 11:04 am    Post subject:
Reply with quote

In those links where you all posted . I dint understand as it was not with complete info.I am posting the code snippet.
//abc JOB (T,73E),JAFFAR,CLASS=6,MSGCLASS=X,NOTIFY=abc
//DELETE EXEC PGM=IEFBR14
//DD1 DD DSN=AbC.EMPDATA.VB,DISP=(MOD,DELETE)
//STEP01 EXEC PGM=SORT
//SORTIN DD DSN=AbC.EMPLOYEE.DATA,DISP=SHR
//SORTOUT DD DSN=AbC.EMPDATA.VB,
// UNIT=SYSDA,DISP=(NEW,CATLG),DATACLAS=MB050E,
// DCB=(LRECL=80,BLKSIZE=800,RECFM=VB)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OUTFIL FNAMES=SORTIN,FTOV
OUTFIL FNAMES=SORTOUT,FTOV,BUILD=(1,10,C'=',21,10)
/*

Please tell me whats wrong in the program
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: Mon Dec 13, 2010 11:17 am    Post subject:
Reply with quote

Hello,

What happens when you run this?

You need to post the diagnostic or abend information including message ids.

Why would you specify OUTFIL for the SORTIN dataset. . . icon_confused.gif
Back to top
View user's profile Send private message
jaffarhussain

New User


Joined: 26 Nov 2010
Posts: 30
Location: Hyderabad

PostPosted: Mon Dec 13, 2010 11:23 am    Post subject:
Reply with quote

I got the abend code S000 U0016.
SORT STATEMENT : STATEMENT NOT FOUND
SYNCSMF CALLED BY SYNCSORT; RC=0000
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: Mon Dec 13, 2010 11:33 am    Post subject:
Reply with quote

Hello,

You will get faster/better help when you follow the directions. . .

There is a reason you did not include the message ids?

Quote:
SORT STATEMENT : STATEMENT NOT FOUND
Even without the message id, this should be rather obvious - there is no SORT statement in the SYSIN . . .

And in case it did not register the first time - you probably do not want this:
Code:
OUTFIL FNAMES=SORTIN,FTOV
Back to top
View user's profile Send private message
Guest







PostPosted: Mon Dec 13, 2010 11:43 am    Post subject:
Reply with quote

Hi,
Isnt this statement required:

Code:

SORT FIELDS=COPY


Kindly correct me if I am wrong
Back to top
jaffarhussain

New User


Joined: 26 Nov 2010
Posts: 30
Location: Hyderabad

PostPosted: Mon Dec 13, 2010 11:50 am    Post subject: Ya got it right now
Reply with quote

//abc58 JOB (T,73E),JAFFAR,CLASS=6,MSGCLASS=X,NOTIFY=abc58
//DELETE EXEC PGM=IEFBR14
//DD1 DD DSN=AbC.EMPDATA.VB,DISP=(MOD,DELETE)
//STEP01 EXEC PGM=SORT
//SORTIN DD DSN=AbC.EMPLOYEE.DATA,DISP=SHR
//SORTOUT DD DSN=AbC.EMPDATA.VB,
// UNIT=SYSDA,DISP=(NEW,CATLG),DATACLAS=MB050E,
// DCB=(LRECL=84,BLKSIZE=800,RECFM=VB)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=SORTOUT,FTOV
/*
This code ran sucessfully and got results, Thanks all for the support.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Dec 13, 2010 3:27 pm    Post subject:
Reply with quote

Glad to hear that. icon_smile.gif

Please learn to use BBcode.
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: Mon Dec 13, 2010 8:45 pm    Post subject: Reply to: FB to VB conversion plz help
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts EBCDIC to ASCII conversion using OCOPY mistah kurtz All Other Mainframe Topics 5 Tue Sep 06, 2016 2:26 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm
No new posts changing z/os unicode conversion service meykh2014 All Other Mainframe Topics 0 Tue Jul 12, 2016 10:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us