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
 
Problem occurs while creating Dynamic Control card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Mon Feb 12, 2007 6:11 pm    Post subject: Problem occurs while creating Dynamic Control card
Reply with quote

Hi All,

In sort Fields , creating Dynamic compare option we have ' in the input fields how it can be taken .
For example
SORT FIELDS=COPY

Field - I taken from one input File

OUTFIL FILES=03,
INCLUDE=(5,10,CH,LT,C'5ML'ANGELO')

Field - II taken from pther input File

OUTFIL FILES=04,
INCLUDE=
(5,10,CH,LT,C'5ML'ANGELO')

While compare both fields in the Using SORT it show error since there is " ' " in the compare fields , Compare option fails .How to solve this problem .Please help.

Note: It should be solved in Dynamic Control card.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Feb 12, 2007 6:37 pm    Post subject: Re: Problem occurs while creating Dynamic Control card
Reply with quote

Use two single apostrophe in place of 1 like

INCLUDE=(5,10,CH,LT,C'5ML''ANGELO')


Hope this solves your problem.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Mon Feb 12, 2007 6:47 pm    Post subject: Re: Problem occurs while creating Dynamic Control card
Reply with quote

Thanks for reply ,Since it is Dynamically Creating the Control card , First we identify the Symbol "'". IF we Put Double Quotes then the input Filed Size will increase it ll affect the already existing logic for comparing other records.
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: Mon Feb 12, 2007 9:49 pm    Post subject:
Reply with quote

ram,

I have no idea what you meant by your last post. You asked how to code an apostrophe in a literal for INCLUDE. murmohk1 correctly told you that you must use two apostrophes for each apostrophe in a literal and showed an example. It's not clear what your references to dynamically creating the control statement, double quotes and the file size have to do with this. You need to explain what you're doing more clearly and what you see as the problem with using two apostrophes for one apostrophe in a literal before anyone can help you further.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
No new posts Having a problem FTP'ng to the MF pahiker All Other Mainframe Topics 2 Fri Nov 10, 2017 8:20 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm

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