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

FB to VB conversion plz help


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2481
Location: @my desk

PostPosted: Thu Dec 09, 2010 4:47 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Dec 09, 2010 4:55 pm
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

Superior Member


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

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

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

DFSORT Developer


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

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

Jaffar,

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

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
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

Moderator Emeritus


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

PostPosted: Mon Dec 13, 2010 11:17 am
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
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

Moderator Emeritus


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

PostPosted: Mon Dec 13, 2010 11:33 am
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
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
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

Superior Member


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

PostPosted: Mon Dec 13, 2010 3:27 pm
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

Moderator Emeritus


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

PostPosted: Mon Dec 13, 2010 8:45 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts SMF Record Date conversion failing CLIST & REXX 1
No new posts Assembler class assignment: stuck on ... PL/I & Assembler 12
Search our Forums:

Back to Top